2 Replies - 1416 Views - Last Post: 04 December 2006 - 07:53 PM Rate Topic: -----

#1 Kavya   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 20-November 06

Standard Template Library

Post icon  Posted 04 December 2006 - 06:54 PM

I came across this code

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



Can someone tell what it means?
Is This A Good Question/Topic? 0
  • +

Replies To: Standard Template Library

#2 eXceed69   User is offline

  • "Super Sentai Knight Of DawN"
  • member icon

Reputation: 8
  • View blog
  • Posts: 688
  • Joined: 12-November 06

Re: Standard Template Library

Posted 04 December 2006 - 07:04 PM

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: 04 December 2006 - 07:05 PM

Was This Post Helpful? 0
  • +
  • -

#3 Xing   User is offline

  • D.I.C Addict
  • member icon

Reputation: 19
  • View blog
  • Posts: 725
  • Joined: 22-July 06

Re: Standard Template Library

Posted 04 December 2006 - 07:53 PM

View PostKavya, on 5 Dec, 2006 - 07:24 AM, said:

I came across this 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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1