|
TRUST 1.9.8
HPC thermohydraulic platform
|
#include <TVAlloc.h>
Classes | |
| struct | rebind |
Public Member Functions | |
| template<typename U> | |
| void | construct (U *ptr) noexcept(std::is_nothrow_default_constructible< U >::value) |
| template<typename U, typename... Args> | |
| void | construct (U *ptr, Args &&... args) |
Allocator adaptor that intercepts the 'construct' calls to convert value initialization into default initialization Written by Casey Carter (@codercasey) Taken from https://hackingcpp.com/cpp/recipe/uninitialized_numeric_array.html
This allows "std::vector<T>(30)" to only allocate, not initialize, the data.
|
inlinenoexcept |
|
inline |