I would like to begin the transition to using C ++ 11 in a large cross-platform code base. The main problem is that the level of support for C ++ 11 depends on the compilers used.
Besides clogging macros throughout the code, does anyone have any examples / suggestions on how to make this transition easier? Please provide methods for specific functions. For instance:
#ifdef STUPID_SUN_COMPILER
#define nullptr NULL
#endif
Thoughts?
source
share