MessagePack for C++
Public Types | Public Member Functions | List of all members
msgpack::type::tuple< Types > Class Template Reference

#include <cpp11_msgpack_tuple_decl.hpp>

Inheritance diagram for msgpack::type::tuple< Types >:
Inheritance graph
[legend]
Collaboration diagram for msgpack::type::tuple< Types >:
Collaboration graph
[legend]

Public Types

using base = std::tuple< Types... >
 

Public Member Functions

 tuple (tuple const &)=default
 
 tuple (tuple &&)=default
 
template<typename... OtherTypes>
 tuple (OtherTypes &&... other)
 
template<typename... OtherTypes>
 tuple (tuple< OtherTypes... > const &other)
 
template<typename... OtherTypes>
 tuple (tuple< OtherTypes... > &&other)
 
tupleoperator= (tuple const &)=default
 
tupleoperator= (tuple &&)=default
 
template<typename... OtherTypes>
tupleoperator= (tuple< OtherTypes... > const &other)
 
template<typename... OtherTypes>
tupleoperator= (tuple< OtherTypes... > &&other)
 
template<std::size_t I>
tuple_element< I, base >::type & get () &noexcept
 
template<std::size_t I>
tuple_element< I, base >::type const & get () const &noexcept
 
template<std::size_t I>
tuple_element< I, base >::type && get () &&noexcept
 
std::size_t size () const
 

Member Typedef Documentation

◆ base

template<class... Types>
using msgpack::type::tuple< Types >::base = std::tuple<Types...>

Constructor & Destructor Documentation

◆ tuple() [1/5]

template<class... Types>
msgpack::type::tuple< Types >::tuple ( tuple< Types > const &  )
default

◆ tuple() [2/5]

template<class... Types>
msgpack::type::tuple< Types >::tuple ( tuple< Types > &&  )
default

◆ tuple() [3/5]

template<class... Types>
template<typename... OtherTypes>
msgpack::type::tuple< Types >::tuple ( OtherTypes &&...  other)
inline

◆ tuple() [4/5]

template<class... Types>
template<typename... OtherTypes>
msgpack::type::tuple< Types >::tuple ( tuple< OtherTypes... > const &  other)
inline

◆ tuple() [5/5]

template<class... Types>
template<typename... OtherTypes>
msgpack::type::tuple< Types >::tuple ( tuple< OtherTypes... > &&  other)
inline

Member Function Documentation

◆ get() [1/3]

template<class... Types>
template<std::size_t I>
tuple_element<I, base>::type&& msgpack::type::tuple< Types >::get ( ) &&
inlinenoexcept

◆ get() [2/3]

template<class... Types>
template<std::size_t I>
tuple_element<I, base>::type& msgpack::type::tuple< Types >::get ( ) &
inlinenoexcept

◆ get() [3/3]

template<class... Types>
template<std::size_t I>
tuple_element<I, base>::type const& msgpack::type::tuple< Types >::get ( ) const &
inlinenoexcept

◆ operator=() [1/4]

template<class... Types>
tuple& msgpack::type::tuple< Types >::operator= ( tuple< Types > &&  )
default

◆ operator=() [2/4]

template<class... Types>
tuple& msgpack::type::tuple< Types >::operator= ( tuple< Types > const &  )
default

◆ operator=() [3/4]

template<class... Types>
template<typename... OtherTypes>
tuple& msgpack::type::tuple< Types >::operator= ( tuple< OtherTypes... > &&  other)
inline

◆ operator=() [4/4]

template<class... Types>
template<typename... OtherTypes>
tuple& msgpack::type::tuple< Types >::operator= ( tuple< OtherTypes... > const &  other)
inline

◆ size()

template<class... Types>
std::size_t msgpack::type::tuple< Types >::size ( ) const
inline

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