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
19 lines
542 B
Text
19 lines
542 B
Text
The keyword ti(typedef) is still allowed in bf(C++), but is not required
|
|
anymore when defining ti(union), ti(struct) or ti(enum) definitions.
|
|
This is illustrated in the following example:
|
|
verb(
|
|
struct somestruct
|
|
{
|
|
int a;
|
|
double d;
|
|
char string[80];
|
|
};
|
|
)
|
|
When a tt(struct), tt(union) or other compound type is defined, the tag of
|
|
this type can be used as type name (this is tt(somestruct) in the above
|
|
example):
|
|
verb(
|
|
somestruct what;
|
|
|
|
what.d = 3.1415;
|
|
)
|