Solved

Are signatures part of the standard in C++?

Posted on 2003-11-18
2
305 Views
Last Modified: 2010-04-01
specifically here is alink to C++ signatures where i learned about them when looking for a common idea to the java interface keyword.

http://www.tac.dk/cgi-bin/info2www?(gcc.info)C%2B%2B%20Signatures

or you can get to it from
http://www.tac.dk/cgi-bin/info2www?(gcc.info)Index
and go down to C++ Signatures.

If you know that they are part of the standard and can show me somewhere that says it, i would really appreciate it! thanks!
0
Comment
Question by:Hokester
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 9773369
No, they are not. But, the functionality actually is the same as a pure virtual base class (aka 'interface'). E.g.

     signature S
     {
       int foo ();
       int bar (int);
     };


is identical to

     struct S
     {
       virtual int foo () = 0;
       virtual int bar (int) = 0;
     };
0
 

Author Comment

by:Hokester
ID: 9790635
thanks for your help!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question