sfinae_errors.hpp File Reference
#include <boost/callable_traits/detail/config.hpp>
Namespaces | |
boost | |
boost::callable_traits | |
boost::callable_traits::detail | |
Macros | |
#define | BOOST_CLBL_TRTS_PP_CAT_(x, y) x ## y |
#define | BOOST_CLBL_TRTS_PP_CAT(x, y) BOOST_CLBL_TRTS_PP_CAT_(x, y) |
#define | BOOST_CLBL_TRTS_DEFINE_SFINAE_ERROR_ORIGIN(origin) |
#define | BOOST_CLBL_TRTS_SFINAE_MSG(origin, name) |
Typedefs | |
template<typename T , typename... FailIfs> | |
using | boost::callable_traits::detail::sfinae_try = typename BOOST_CLBL_TRTS_DISJUNCTION(FailIfs..., success< T >)::_::type |
Macro Definition Documentation
◆ BOOST_CLBL_TRTS_DEFINE_SFINAE_ERROR_ORIGIN
#define BOOST_CLBL_TRTS_DEFINE_SFINAE_ERROR_ORIGIN | ( | origin | ) |
Value:
namespace error { \
template<typename ErrorMessage> \
struct origin : \
{ struct _ {}; }; \
} \
Definition at line 47 of file sfinae_errors.hpp.
◆ BOOST_CLBL_TRTS_PP_CAT
#define BOOST_CLBL_TRTS_PP_CAT | ( | x, | |
y | |||
) | BOOST_CLBL_TRTS_PP_CAT_(x, y) |
Definition at line 45 of file sfinae_errors.hpp.
◆ BOOST_CLBL_TRTS_PP_CAT_
#define BOOST_CLBL_TRTS_PP_CAT_ | ( | x, | |
y | |||
) | x ## y |
Definition at line 44 of file sfinae_errors.hpp.
◆ BOOST_CLBL_TRTS_SFINAE_MSG
#define BOOST_CLBL_TRTS_SFINAE_MSG | ( | origin, | |
name | |||
) |
Value:
struct BOOST_CLBL_TRTS_PP_CAT(name, _ ){}; \
struct name : error::origin< \
BOOST_CLBL_TRTS_PP_CAT(name, _ )>{}; \
Definition at line 56 of file sfinae_errors.hpp.