implementation?

This is a discussion on implementation? within the C++ Programming forums, part of the General Programming Boards category; Good Morning All! I know that when refering to a template class , that the implementation is the definitions of ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    Question implementation?

    Good Morning All!

    I know that when refering to a template class , that the implementation is the definitions of the member functions that are in the source file (.cpp). But when someone refers to the "complete implementation" of a template class, does this refer to something different or added? Or is it just a more technical way of talking about the function definitions?

    Thanks

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    As far as I know, the complete definition of a template class needs to be in the header. Including the parts that would go into a .cpp file for a normal class.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. rand() implementation
    By habert79 in forum C Programming
    Replies: 4
    Last Post: 02-07-2009, 12:18 PM
  2. PLease Help with Class Implementation
    By Dilmerv in forum C++ Programming
    Replies: 13
    Last Post: 04-28-2006, 09:36 AM
  3. implementation file
    By bejiz in forum C++ Programming
    Replies: 5
    Last Post: 11-28-2005, 12:59 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. Pure virtual implementation, or not.
    By Eibro in forum C++ Programming
    Replies: 2
    Last Post: 03-19-2003, 07:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21