?
Solved

Are signatures part of the standard in C++?

Posted on 2003-11-18
2
Medium Priority
?
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 800 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
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.
Suggested Courses

771 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