Results 1 to 2 of 2

Thread: Templates, Templates Calling ????

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    32

    Hi Guys,

    U guys probably know that u can create templates in C++ which means that this particular class can take any data type.
    Then how is it that most of the objects in C++ are not templates but ordinary classes .

    Does anybody know any good resources for STL ?

    Regards

    Shastri
    Shas


  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    For STL resources, go to http://www.sgi.com and I think there's something there (I can't remember the exact URL but it has loads of info).

    Most C++ objects aren't templates because they don't need to be - they usually do one thing, without needing to take different types.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width