apply_return.hpp
Go to the documentation of this file.
82 * When `T` is a function, function pointer, function reference, or member function pointer, the aliased type's return type is `R`, but is otherwise identical to `T`.
83 * When `T` is a member data pointer of class `foo` to a `U` type (such that `T` is `U foo::*`), the aliased type is `R foo::*`.
sfinae_try< T, fail_when_same< U, invalid_type, ErrorType >, fail_when_same< U, reference_error, reference_type_not_supported_by_this_metafunction > > try_but_fail_if_invalid
Definition: utility.hpp:58
typename BOOST_CLBL_TRTS_DISJUNCTION(function_object< unwrap_reference< T > >, function< T >, pmf< T >, pmd< T >, default_callable_traits< T >)::traits traits
Definition: traits.hpp:25
detail::try_but_fail_if_invalid< typename detail::apply_return_helper< T, R >::type, invalid_types_for_apply_return > apply_return_t
Definition: apply_return.hpp:46
Definition: add_member_const.hpp:14
#define BOOST_CLBL_TRTS_SFINAE_MSG(origin, name)
Definition: sfinae_errors.hpp:56
#define BOOST_CLBL_TRTS_DEFINE_SFINAE_ERROR_ORIGIN(origin)
Definition: sfinae_errors.hpp:47
R(Args...) type
Definition: apply_return.hpp:29
typename detail::traits< T >::template apply_return< R > type
Definition: apply_return.hpp:23
apply_return_t< T, R > type
Definition: apply_return.hpp:57