Solved

Are signatures part of the standard in C++?

Posted on 2003-11-18
2
303 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now