3

In C++ is there a way to check that the nullptr keyword is available? Or can you check that C++11 is supported?

I would like a way like this:

#ifndef c++11

#define nullptr 0

Sebastian Hoffmann
  • 11,127
  • 7
  • 49
  • 77
kovacsmarcell
  • 461
  • 2
  • 11

0 Answers0