3.8.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::array::object< T, Size > Class Template Reference

Public Types

using impl_type = std::array< T, Size >
 
using value_type = typename impl_type::value_type
 
using reference = typename impl_type::reference
 
using const_reference = typename impl_type::const_reference
 
using size_type = typename impl_type::size_type
 
using iterator = typename impl_type::iterator
 
using const_iterator = typename impl_type::const_iterator
 
using pointer = typename impl_type::pointer
 
using const_pointer = typename impl_type::const_pointer
 

Public Member Functions

template<typename... Args, typename = std::enable_if_t< Size == sizeof...(Args) && std::conjunction_v<std::is_constructible<T, Args>...>>>
constexpr object (Args &&...) noexcept(std::conjunction_v< std::is_nothrow_constructible< T, Args >... >)
 
 object (fcppt::no_init const &)
 
reference get_unsafe (size_type) noexcept
 
const_reference get_unsafe (size_type) const noexcept
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
pointer data ()
 
const_pointer data () const
 
constexpr size_type size () const
 
constexpr impl_typeimpl () noexcept
 
constexpr impl_type const & impl () const noexcept
 

Member Typedef Documentation

◆ const_iterator

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::const_iterator = typename impl_type::const_iterator

◆ const_pointer

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::const_pointer = typename impl_type::const_pointer

◆ const_reference

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::const_reference = typename impl_type::const_reference

◆ impl_type

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::impl_type = std::array<T, Size>

◆ iterator

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::iterator = typename impl_type::iterator

◆ pointer

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::pointer = typename impl_type::pointer

◆ reference

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::reference = typename impl_type::reference

◆ size_type

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::size_type = typename impl_type::size_type

◆ value_type

template<typename T , std::size_t Size>
using fcppt::array::object< T, Size >::value_type = typename impl_type::value_type

Constructor & Destructor Documentation

◆ object() [1/2]

template<typename T , std::size_t Size>
template<typename... Args, typename = std::enable_if_t< Size == sizeof...(Args) && std::conjunction_v<std::is_constructible<T, Args>...>>>
constexpr fcppt::array::object< T, Size >::object ( Args &&  ...) const
explicitconstexprnoexcept

◆ object() [2/2]

template<typename T , std::size_t Size>
fcppt::array::object< T, Size >::object ( fcppt::no_init const &  )
explicit

Member Function Documentation

◆ begin() [1/2]

template<typename T , std::size_t Size>
iterator fcppt::array::object< T, Size >::begin ( )

◆ begin() [2/2]

template<typename T , std::size_t Size>
const_iterator fcppt::array::object< T, Size >::begin ( ) const

◆ data() [1/2]

template<typename T , std::size_t Size>
pointer fcppt::array::object< T, Size >::data ( )

◆ data() [2/2]

template<typename T , std::size_t Size>
const_pointer fcppt::array::object< T, Size >::data ( ) const

◆ end() [1/2]

template<typename T , std::size_t Size>
iterator fcppt::array::object< T, Size >::end ( )

◆ end() [2/2]

template<typename T , std::size_t Size>
const_iterator fcppt::array::object< T, Size >::end ( ) const

◆ get_unsafe() [1/2]

template<typename T , std::size_t Size>
const_reference fcppt::array::object< T, Size >::get_unsafe ( size_type  ) const
noexcept

◆ get_unsafe() [2/2]

template<typename T , std::size_t Size>
reference fcppt::array::object< T, Size >::get_unsafe ( size_type  )
noexcept

◆ impl() [1/2]

template<typename T , std::size_t Size>
constexpr impl_type const& fcppt::array::object< T, Size >::impl ( ) const
constexprnoexcept

◆ impl() [2/2]

template<typename T , std::size_t Size>
constexpr impl_type& fcppt::array::object< T, Size >::impl ( )
constexprnoexcept

◆ size()

template<typename T , std::size_t Size>
constexpr size_type fcppt::array::object< T, Size >::size ( ) const
constexpr