CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004
    Posts
    21

    Question How template in C++ Work ?

    Hi All,

    I looking for some stuff that explain how template in C++ work.

    What i need is not how to use them ... ( this i already know ).

    Some one can help me ?

    I already looked in Google and did not find something that can tell me all about template behind the scenes...

    Thanks for any help.

  2. #2
    Join Date
    Oct 2005
    Posts
    20

    Re: How template in C++ Work ?

    More detail would prove helpful. What in particular, are you looking for?

    How C++ actually deals with templates? If so, any decent C++ reference book should explain how they work.

    Are you looking for hacks you can use to make sure templated classes properly compile?

    When you should employ templated classes? Generic algorithms?

  3. #3
    Join Date
    Dec 2004
    Posts
    21

    Question Re: How template in C++ Work ?

    i looking in 2 books that i have and i just found how to use Templates.

    I need to know more about how its work... is it use the fact that all the object devisee from CObject or something like that ?

  4. #4
    Join Date
    Apr 1999
    Posts
    27,449

    Re: How template in C++ Work ?

    Quote Originally Posted by YANSHOF
    I need to know more about how its work...
    And how will this help you? I'm trying to understand what exactly you are looking for.
    is it use the fact that all the object devisee from CObject or something like that ?
    What does CObject have to do with templates?

    Regards,

    Paul McKenzie

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

Featured