Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,913 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,171 people online right now. Registration is fast and FREE... Join Now!




Standard Template Library

 
Reply to this topicStart new topic

Standard Template Library, strange list code

Kavya
4 Dec, 2006 - 05:54 PM
Post #1

New D.I.C Head
*

Joined: 20 Nov, 2006
Posts: 5


My Contributions
I came across this code

CODE

template<>
class list<void*>
{  
...
};


Can someone tell what it means?
User is offlineProfile CardPM
+Quote Post

eXceed69
RE: Standard Template Library
4 Dec, 2006 - 06:04 PM
Post #2

"Super Sentai Knight Of DawN"
Group Icon

Joined: 12 Nov, 2006
Posts: 682



Thanked: 1 times
Dream Kudos: 675
My Contributions
It is a Standard Template Library, or STL, is a C++ library of container classes, algorithms, and iterators.

examples of it click here and here

This post has been edited by eXceed69: 4 Dec, 2006 - 06:05 PM
User is offlineProfile CardPM
+Quote Post

Xing
RE: Standard Template Library
4 Dec, 2006 - 06:53 PM
Post #3

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 4 times
Dream Kudos: 1575
My Contributions
QUOTE(Kavya @ 5 Dec, 2006 - 07:24 AM) *

I came across this code

CODE

template<>
class list<void*>
{  
...
};


Can someone tell what it means?


It's simply a specialisation for list of void*. It allows users to have single interface with different implementations.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/8/09 02:07PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month