3.7.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::tuple::object< Types > Class Template Reference

Detailed Description

template<typename... Types>
class fcppt::tuple::object< Types >

Like std::tuple but with a proper constructor.

Public Types

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

Public Member Functions

template<typename... Args, typename = std::enable_if_t< sizeof...(Types) == sizeof...(Args) && std::conjunction_v<std::is_constructible<Types, Args>...>>>
constexpr object (Args &&...) noexcept(std::conjunction_v< std::is_nothrow_constructible< Types, Args >... >)
 
constexpr impl_typeimpl () noexcept
 
constexpr impl_type const & impl () const noexcept
 

Member Typedef Documentation

◆ impl_type

template<typename... Types>
using fcppt::tuple::object< Types >::impl_type = std::tuple<Types...>

Constructor & Destructor Documentation

◆ object()

template<typename... Types>
template<typename... Args, typename = std::enable_if_t< sizeof...(Types) == sizeof...(Args) && std::conjunction_v<std::is_constructible<Types, Args>...>>>
constexpr fcppt::tuple::object< Types >::object ( Args &&  ...) const
explicitconstexprnoexcept

Member Function Documentation

◆ impl() [1/2]

template<typename... Types>
constexpr impl_type const& fcppt::tuple::object< Types >::impl ( ) const
constexprnoexcept

◆ impl() [2/2]

template<typename... Types>
constexpr impl_type& fcppt::tuple::object< Types >::impl ( )
constexprnoexcept