Menu

#84 state that docs format C++ syntax closer to lib syntax (void), public, etc

1.0.0
accepted
None
Documentation
minor
0.4.1
enhancement
2013-02-13
2012-09-10
No

Note that the preceding example was just a function declaration with no
macros, so I guess MSVC will be able to take care of

bool empty ( ) const;

isn't it?

Oops, no macros... so sure you can use empty ( ) instead of empty (
void ) but I'm always using a C++ declaration syntax that looks more
closely to the library's declaration syntax so programmers get more
familiar with it (e.g., ( void ), public:, etc). I'll mention this
rationale in the docs.

Discussion

  • Lorenzo Caminiti

    • status changed from new to accepted
     
  • Lorenzo Caminiti

    • summary changed from state that docs use C++ syntax closer to lib syntax (void), public, etc to state that docs format C++ syntax closer to lib syntax (void), public, etc
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.