15 Oct
2017
15 Oct
'17
10:33 p.m.
Marc Glisse wrote:
Otherwise:
#ifndef BOOST_SYSTEM_ENABLE_DEPRECATED #define BOOST_SYSTEM_NO_DEPRECATED #endif
No, that's not right. Headers included before this one will not see the macro, those after will. Bad things might happen. :-)
There is a file in chrono that uses BOOST_SYSTEM_NO_DEPRECATED...
There is, although it doesn't need to. The non-deprecated path works in either case.