Newton Dynamics is an integrated solution for real time simulation of physics environments.
936
stars
182
forks
source link
Symbols with two contiguous underscores must only be used by the compiler or standard library #256
Open
jonesmz opened 2 years ago
See here: https://stackoverflow.com/questions/224397/why-do-people-use-double-underscore-so-much-in-c
I notice that preprocessor symbols with two leading underscores are used in header files. This is forbidden by the C++ and C language standards.
For example:
I also notice preprocessor defines with a single underscore followed by a capital letter, e.g.
Symbols of this pattern are reserved for the standard library only.
Newton Dynamics should change these symbols to not use names in the reserved namespace.