mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
6881bc3814
Annotations. The branches and tags directory are empty, since I couldn't svnadmin import a repostitory dump. Many earlier versions exist, though, and if you want the full archive, just let me know and I'll send you the svnadmin dump of my full C++ Annotations archive. Frank B. Brokken <f.b.brokken@rug.nl> git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@3 f6dd340e-d3f9-0310-b409-bdd246841980
14 lines
597 B
Text
14 lines
597 B
Text
Within bf(C), a function prototype with an i(empty parameter list), such as
|
|
verb(
|
|
void func();
|
|
)
|
|
means that the argument list of the declared function is not
|
|
prototyped: the compiler will not warn against improper argument
|
|
usage. In bf(C), to declare a function having no arguments, the keyword
|
|
ti(void) is used:
|
|
verb(
|
|
void func(void);
|
|
)
|
|
As bf(C++) enforces strict type checking, an empty parameter list
|
|
indicates the absence of any parameter. The keyword tt(void) can thus
|
|
be omitted: in bf(C++) the above two function declarations are equivalent.
|