REQUIRES macro should be in boost namespace
garyfurnish opened this issue · 1 comments
garyfurnish commented
include/boost/expected/expected.hpp:# define REQUIRES(...) typename std::enable_if<VA_ARGS, void*>::type = 0
include/boost/expected/expected.hpp:# define T_REQUIRES(...) typename = typename std::enable_if<(VA_ARGS)>::ty
These should be prefixed by BOOST_ to prevent macro namespace contamination (in particular they interfere with the default clang REQUIRES macro for thread safety checking).