4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
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>
requires ( 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>
requires ( sizeof...(Types) == sizeof...(Args) && std::conjunction_v<std::is_constructible<Types, Args>...>)
fcppt::tuple::object< Types >::object ( Args && ...) const
explicitconstexprnoexcept

Member Function Documentation

◆ impl() [1/2]

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

◆ impl() [2/2]

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