2.10.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::container::dynamic_array< T, A > Class Template Reference

Detailed Description

template<typename T, typename A>
class fcppt::container::dynamic_array< T, A >

An array of dynamic size that does not initialize.

Template Parameters
TMust be a POD type.
AThe allocator type.

Public Types

typedef A::pointer pointer
 
typedef A::const_pointer const_pointer
 
typedef A::size_type size_type
 

Public Member Functions

 dynamic_array (size_type, A a=A())
 
 ~dynamic_array () noexcept
 
pointer data () noexcept
 
const_pointer data () const noexcept
 
pointer data_end () noexcept
 
const_pointer data_end () const noexcept
 
size_type size () const noexcept
 

Member Typedef Documentation

◆ const_pointer

template<typename T , typename A >
typedef A::const_pointer fcppt::container::dynamic_array< T, A >::const_pointer

◆ pointer

template<typename T , typename A >
typedef A::pointer fcppt::container::dynamic_array< T, A >::pointer

◆ size_type

template<typename T , typename A >
typedef A::size_type fcppt::container::dynamic_array< T, A >::size_type

Constructor & Destructor Documentation

◆ dynamic_array()

template<typename T , typename A >
fcppt::container::dynamic_array< T, A >::dynamic_array ( size_type  ,
a = A() 
)
explicit

◆ ~dynamic_array()

template<typename T , typename A >
fcppt::container::dynamic_array< T, A >::~dynamic_array ( )
noexcept

Member Function Documentation

◆ data() [1/2]

template<typename T , typename A >
pointer fcppt::container::dynamic_array< T, A >::data ( )
noexcept

◆ data() [2/2]

template<typename T , typename A >
const_pointer fcppt::container::dynamic_array< T, A >::data ( ) const
noexcept

◆ data_end() [1/2]

template<typename T , typename A >
pointer fcppt::container::dynamic_array< T, A >::data_end ( )
noexcept

◆ data_end() [2/2]

template<typename T , typename A >
const_pointer fcppt::container::dynamic_array< T, A >::data_end ( ) const
noexcept

◆ size()

template<typename T , typename A >
size_type fcppt::container::dynamic_array< T, A >::size ( ) const
noexcept