![]() |
PST SDK
6.0.0.0-272350a
|
Public Member Functions | |
| PstVector< T >::pointer | allocate (typename PstVector< T >::size_type num) |
| void | construct (typename PstVector< T >::pointer p) |
| template<class... A> | |
| void | construct (typename PstVector< T >::pointer p, A &... arg) |
| void | construct (typename PstVector< T >::pointer p, T &&data) |
| void | destroy (typename PstVector< T >::pointer p) |
| void | deallocate (typename PstVector< T >::pointer p) |
Simple basic allocator class to allocate and construct vector items.
| PstVector<T>::pointer PSTech::Utils::PstVector< T >::Allocator::allocate | ( | typename PstVector< T >::size_type | num | ) |
Allocate but don't initialize num elements of type T
| void PSTech::Utils::PstVector< T >::Allocator::construct | ( | typename PstVector< T >::pointer | p | ) |
Initialize elements of allocated storage p using its default constructor
| void PSTech::Utils::PstVector< T >::Allocator::construct | ( | typename PstVector< T >::pointer | p, |
| A &... | arg | ||
| ) |
Initialize elements of allocated storage p using constructor with arguments arg
| void PSTech::Utils::PstVector< T >::Allocator::construct | ( | typename PstVector< T >::pointer | p, |
| T && | data | ||
| ) |
Initialize elements of allocated storage p using the move constructor
| void PSTech::Utils::PstVector< T >::Allocator::deallocate | ( | typename PstVector< T >::pointer | p | ) |
| void PSTech::Utils::PstVector< T >::Allocator::destroy | ( | typename PstVector< T >::pointer | p | ) |