Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

memory.h File Reference

memory.h File Reference

Go to the source code of this file.

Data Structures

struct  create_copy< T >
 Copy constructs a derived class to an address. More...

Namespaces

namespace  etl
 

A multimap with the capacity defined at compile time.


Functions

template<typename T >
T * addressof (T &t)
 Gets the address of an object.
template<typename TOutputIterator , typename T >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value,
TOutputIterator >::type 
uninitialized_fill (TOutputIterator o_begin, TOutputIterator o_end, const T &value)
 Fills uninitialised memory range with a value.
template<typename TOutputIterator , typename T , typename TCounter >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value,
TOutputIterator >::type 
uninitialized_fill (TOutputIterator o_begin, TOutputIterator o_end, const T &value, TCounter &count)
 Fills uninitialised memory range with a value.
template<typename TOutputIterator , typename TSize , typename T >
TOutputIterator uninitialized_fill_n (TOutputIterator o_begin, TSize n, const T &value)
 Fills uninitialised memory with N values.
template<typename TOutputIterator , typename TSize , typename T , typename TCounter >
TOutputIterator uninitialized_fill_n (TOutputIterator o_begin, TSize n, const T &value, TCounter &count)
 Fills uninitialised memory with N values.
template<typename TInputIterator , typename TOutputIterator >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value,
TOutputIterator >::type 
uninitialized_copy (TInputIterator i_begin, TInputIterator i_end, TOutputIterator o_begin)
 Copies a range of objects to uninitialised memory.
template<typename TInputIterator , typename TOutputIterator , typename TCounter >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value,
TOutputIterator >::type 
uninitialized_copy (TInputIterator i_begin, TInputIterator i_end, TOutputIterator o_begin, TCounter &count)
 Copies a range of objects to uninitialised memory.
template<typename TInputIterator , typename TSize , typename TOutputIterator >
TOutputIterator uninitialized_copy_n (TInputIterator i_begin, TSize n, TOutputIterator o_begin)
 Copies N objects to uninitialised memory.
template<typename TInputIterator , typename TSize , typename TOutputIterator , typename TCounter >
TOutputIterator uninitialized_copy_n (TInputIterator i_begin, TSize n, TOutputIterator o_begin, TCounter &count)
 Copies N objects to uninitialised memory.
template<typename T >
etl::enable_if
< etl::is_trivially_constructible
< T >::value, void >::type 
create_default_at (T *)
 Default contruct an item at address p.
template<typename T , typename TCounter >
etl::enable_if
< etl::is_trivially_constructible
< T >::value, void >::type 
create_default_at (T *, TCounter &count)
 Default contruct an item at address p.
template<typename TOutputIterator >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value, void >
::type 
uninitialized_default_construct (TOutputIterator, TOutputIterator)
 Default initialises a range of objects to uninitialised memory.
template<typename TOutputIterator , typename TCounter >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value, void >
::type 
uninitialized_default_construct (TOutputIterator o_begin, TOutputIterator o_end, TCounter &count)
 Default initialises a range of objects to uninitialised memory.
template<typename TOutputIterator , typename TSize >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value,
TOutputIterator >::type 
uninitialized_default_construct_n (TOutputIterator o_begin, TSize n)
 Default initialises N objects to uninitialised memory.
template<typename TOutputIterator , typename TSize , typename TCounter >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value,
TOutputIterator >::type 
uninitialized_default_construct_n (TOutputIterator o_begin, TSize n, TCounter &count)
 Default initialises N objects to uninitialised memory.
template<typename T >
void create_value_at (T *p)
 Value construct an item at address p.
template<typename T , typename TCounter >
void create_value_at (T *p, TCounter &count)
 Value construct an item at address p.
template<typename T >
void create_copy_at (T *p, const T &value)
 Copy construct an item at address p.
template<typename T , typename TCounter >
void create_copy_at (T *p, const T &value, TCounter &count)
 Copy construct an item at address p.
template<typename T >
T & make_default_at (T *p)
 Construct an item at address p.
template<typename T , typename TCounter >
T & make_default_at (T *p, TCounter &count)
 Construct an item at address p.
template<typename T >
T & make_copy_at (T *p, const T &other)
 Construct an item at address p.
template<typename T , typename TCounter >
T & make_copy_at (T *p, const T &other, TCounter &count)
 Construct an item at address p.
template<typename T , typename TParameter >
T & make_value_at (T *p, const TParameter &value)
 Construct an item at address p.
template<typename T , typename TParameter , typename TCounter >
T & make_value_at (T *p, const TParameter &value, TCounter &count)
 Construct an item at address p.
template<typename TOutputIterator >
etl::enable_if
< etl::is_trivially_constructible
< typename
std::iterator_traits
< TOutputIterator >
::value_type >::value, void >
::type 
uninitialized_value_construct (TOutputIterator o_begin, TOutputIterator o_end)
 Default initialises a range of objects to uninitialised memory.
template<typename TOutputIterator , typename TCounter >
void uninitialized_value_construct (TOutputIterator o_begin, TOutputIterator o_end, TCounter &count)
 Default initialises a range of objects to uninitialised memory.
template<typename TOutputIterator , typename TSize >
TOutputIterator uninitialized_value_construct_n (TOutputIterator o_begin, TSize n)
 Default initialises N objects to uninitialised memory.
template<typename TOutputIterator , typename TSize , typename TCounter >
TOutputIterator uninitialized_value_construct_n (TOutputIterator o_begin, TSize n, TCounter &count)
 Default initialises N objects to uninitialised memory.
template<typename T >
etl::enable_if
< etl::is_trivially_destructible
< T >::value, void >::type 
destroy_at (T *)
 Destroys an item at address p.
template<typename T , typename TCounter >
etl::enable_if
< etl::is_trivially_destructible
< T >::value, void >::type 
destroy_at (T *, TCounter &count)
 Destroys an item at address p.
template<typename TIterator >
etl::enable_if
< etl::is_trivially_destructible
< typename
std::iterator_traits
< TIterator >::value_type >
::value, void >::type 
destroy (TIterator, TIterator)
 Destroys a range of items.
template<typename TIterator , typename TCounter >
etl::enable_if
< etl::is_trivially_destructible
< typename
std::iterator_traits
< TIterator >::value_type >
::value, void >::type 
destroy (TIterator i_begin, TIterator i_end, TCounter &count)
 Destroys a range of items.
template<typename TIterator , typename TSize >
etl::enable_if
< etl::is_trivially_destructible
< typename
std::iterator_traits
< TIterator >::value_type >
::value, TIterator >::type 
destroy_n (TIterator i_begin, TSize n)
 Destroys a number of items.
template<typename TIterator , typename TSize , typename TCounter >
etl::enable_if
< etl::is_trivially_destructible
< typename
std::iterator_traits
< TIterator >::value_type >
::value, TIterator >::type 
destroy_n (TIterator i_begin, TSize n, TCounter &count)
 Destroys a number of items.

Detailed Description

Definition in file memory.h.