diff --git a/src/memory.h b/src/memory.h index 2f8597f4..bf6b5185 100644 --- a/src/memory.h +++ b/src/memory.h @@ -244,7 +244,7 @@ namespace etl //***************************************************************************** template typename etl::enable_if::value, void>::type - uninitialized_default_construct(T* /*p*/) + construct_default_at(T* /*p*/) { } @@ -254,7 +254,7 @@ namespace etl //***************************************************************************** template typename etl::enable_if::value, void>::type - uninitialized_default_construct(T* /*p*/, TCounter& count) + construct_default_at(T* /*p*/, TCounter& count) { ++count; } @@ -265,7 +265,7 @@ namespace etl //***************************************************************************** template typename etl::enable_if::value, void>::type - uninitialized_default_construct(T* p) + construct_default_at(T* p) { ::new (p) T; } @@ -276,7 +276,7 @@ namespace etl //***************************************************************************** template typename etl::enable_if::value, void>::type - uninitialized_default_construct(T* p, TCounter& count) + construct_default_at(T* p, TCounter& count) { ::new (p) T; ++count; @@ -408,7 +408,7 @@ namespace etl ///\ingroup memory //***************************************************************************** template - inline void uninitialized_value_construct(T* p) + inline void construct_value_at(T* p) { ::new (p) T(); } @@ -418,7 +418,7 @@ namespace etl ///\ingroup memory //***************************************************************************** template - inline void uninitialized_value_construct(T* p, TCounter& count) + inline void construct_value_at(T* p, TCounter& count) { ::new (p) T(); ++count; @@ -429,7 +429,7 @@ namespace etl ///\ingroup memory //***************************************************************************** template - inline void uninitialized_value_construct(T* p, const T& value) + inline void construct_copy_at(T* p, const T& value) { ::new (p) T(value); } @@ -439,7 +439,7 @@ namespace etl ///\ingroup memory //***************************************************************************** template - inline void uninitialized_value_construct(T* p, const T& value, TCounter& count) + inline void construct_copy_at(T* p, const T& value, TCounter& count) { ::new (p) T(value); ++count;