Closed garyfurnish closed 9 years ago
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).
https://github.com/ptal/expected/commit/234fe47a3776b7c241473a5b9ea1dd9a52783d9a
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).