May 1, 2014

[C++] Rules about using an underscore in a C++ identifier

Reference:
Answer

long story short:

  • don't start identifiers with underscores.
  • don't use double underscores anywhere
  • don't typedef  with end of '_t'
  • beware of posix define, i.e SIG_, EA_

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.