MessagePack for C++
Loading...
Searching...
No Matches
msgpack::adaptor::as< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value &&boost::mpl::fold< T, boost::mpl::bool_< true >, boost::mpl::if_< boost::mpl::or_< boost::mpl::_1, msgpack::has_as< boost::mpl::_2 > >, boost::mpl::bool_< true >, boost::mpl::bool_< false > > >::type::value >::type > Struct Template Reference

#include <fusion.hpp>

Public Member Functions

operator() (msgpack::object const &o) const

Static Public Member Functions

template<std::size_t... Is, typename U>
static std::tuple< typename std::remove_reference< typename boost::fusion::result_of::at_c< T, static_cast< int >(Is)>::type >::type... > to_tuple (U const &u, seq< Is... >)
template<std::size_t... Is, typename U>
static T to_t (U const &u, seq< Is... >)

Member Function Documentation

◆ operator()()

template<typename T>
T msgpack::adaptor::as< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value &&boost::mpl::fold< T, boost::mpl::bool_< true >, boost::mpl::if_< boost::mpl::or_< boost::mpl::_1, msgpack::has_as< boost::mpl::_2 > >, boost::mpl::bool_< true >, boost::mpl::bool_< false > > >::type::value >::type >::operator() ( msgpack::object const & o) const
inline

◆ to_t()

template<typename T>
template<std::size_t... Is, typename U>
T msgpack::adaptor::as< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value &&boost::mpl::fold< T, boost::mpl::bool_< true >, boost::mpl::if_< boost::mpl::or_< boost::mpl::_1, msgpack::has_as< boost::mpl::_2 > >, boost::mpl::bool_< true >, boost::mpl::bool_< false > > >::type::value >::type >::to_t ( U const & u,
seq< Is... >  )
inlinestatic

Referenced by operator()().

◆ to_tuple()

template<typename T>
template<std::size_t... Is, typename U>
std::tuple< typename std::remove_reference< typename boost::fusion::result_of::at_c< T, static_cast< int >(Is)>::type >::type... > msgpack::adaptor::as< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value &&boost::mpl::fold< T, boost::mpl::bool_< true >, boost::mpl::if_< boost::mpl::or_< boost::mpl::_1, msgpack::has_as< boost::mpl::_2 > >, boost::mpl::bool_< true >, boost::mpl::bool_< false > > >::type::value >::type >::to_tuple ( U const & u,
seq< Is... >  )
inlinestatic

Referenced by operator()().


The documentation for this struct was generated from the following file: