Thread: templates and implementation files

  1. #1
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    838

    templates and implementation files

    http://www.bgsu.edu/departments/comp...templates.html

    There is never an implementation file (*.cpp) for a template class. All of the member functions should be declared in the header file
    why?

  2. #2

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Fun with templates.
    By SlyMaelstrom in forum C++ Programming
    Replies: 1
    Last Post: 03-22-2006, 06:06 PM
  2. Questions about Templates
    By Shamino in forum C++ Programming
    Replies: 4
    Last Post: 12-17-2005, 11:22 PM
  3. im extreamly new help
    By rigo305 in forum C++ Programming
    Replies: 27
    Last Post: 04-23-2004, 11:22 PM
  4. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM
Website Security Test