Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
memory
[Embedded Template Library.]
Data Structures | |
struct | create_copy< T > |
Copy constructs a derived class to an address. More... | |
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. |
Function Documentation
void etl::create_copy_at | ( | T * | p, |
const T & | value | ||
) |
void etl::create_copy_at | ( | T * | p, |
const T & | value, | ||
TCounter & | count | ||
) |
etl::enable_if<!etl::is_trivially_constructible< T >::value, void >::type create_default_at | ( | T * | p ) |
etl::enable_if<!etl::is_trivially_constructible< T >::value, void >::type create_default_at | ( | T * | p, |
TCounter & | count | ||
) |
void etl::create_value_at | ( | T * | p, |
TCounter & | count | ||
) |
void etl::create_value_at | ( | T * | p ) |
etl::enable_if<!etl::is_trivially_destructible< typename std::iterator_traits< TIterator >::value_type >::value, void >::type destroy | ( | TIterator | i_begin, |
TIterator | i_end | ||
) |
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 | ||
) |
etl::enable_if<!etl::is_trivially_destructible< T >::value, void >::type destroy_at | ( | T * | p ) |
etl::enable_if<!etl::is_trivially_destructible< T >::value, void >::type destroy_at | ( | T * | p, |
TCounter & | count | ||
) |
etl::enable_if<!etl::is_trivially_destructible< typename std::iterator_traits< TIterator >::value_type >::value, TIterator >::type destroy_n | ( | TIterator | i_begin, |
TSize | n | ||
) |
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 | ||
) |
T& etl::make_copy_at | ( | T * | p, |
const T & | other | ||
) |
T& etl::make_copy_at | ( | T * | p, |
const T & | other, | ||
TCounter & | count | ||
) |
T& etl::make_default_at | ( | T * | p ) |
T& etl::make_default_at | ( | T * | p, |
TCounter & | count | ||
) |
T& etl::make_value_at | ( | T * | p, |
const TParameter & | value, | ||
TCounter & | count | ||
) |
T& etl::make_value_at | ( | T * | p, |
const TParameter & | value | ||
) |
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 | ||
) |
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 | ||
) |
TOutputIterator etl::uninitialized_copy_n | ( | TInputIterator | i_begin, |
TSize | n, | ||
TOutputIterator | o_begin, | ||
TCounter & | count | ||
) |
TOutputIterator etl::uninitialized_copy_n | ( | TInputIterator | i_begin, |
TSize | n, | ||
TOutputIterator | o_begin | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
TOutputIterator etl::uninitialized_fill_n | ( | TOutputIterator | o_begin, |
TSize | n, | ||
const T & | value, | ||
TCounter & | count | ||
) |
TOutputIterator etl::uninitialized_fill_n | ( | TOutputIterator | o_begin, |
TSize | n, | ||
const T & | value | ||
) |
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 | ||
) |
void etl::uninitialized_value_construct | ( | TOutputIterator | o_begin, |
TOutputIterator | o_end, | ||
TCounter & | count | ||
) |
TOutputIterator etl::uninitialized_value_construct_n | ( | TOutputIterator | o_begin, |
TSize | n, | ||
TCounter & | count | ||
) |
Generated on Tue Jul 12 2022 14:05:47 by
