4.6.0
Freundlich's C++ toolkit
|
A special vector class that can handle uninitialized memory.
T | A trivial type. |
A | The allocator type. |
See fcppt.container.raw_vector for more information.
Public Types | |
using | value_type = T |
using | allocator_type = A |
using | size_type = typename std::allocator_traits<A>::size_type |
using | difference_type = typename std::allocator_traits<A>::difference_type |
using | pointer = typename std::allocator_traits<A>::pointer |
using | const_pointer = typename std::allocator_traits<A>::const_pointer |
using | reference = T & |
using | const_reference = T const & |
using | iterator = pointer |
using | const_iterator = const_pointer |
Public Member Functions | |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
reference | operator[] (size_type) noexcept |
const_reference | operator[] (size_type) const noexcept |
reference | front () noexcept |
const_reference | front () const noexcept |
reference | back () noexcept |
const_reference | back () const noexcept |
pointer | data () noexcept |
Returns the pointer to the store. | |
const_pointer | data () const noexcept |
Returns the pointer to the store. | |
pointer | data_end () noexcept |
Returns the pointer to the end of the store. | |
const_pointer | data_end () const noexcept |
Returns the pointer to the end of the store. | |
object () | |
object (A const &) | |
object (size_type sz, T const &value) | |
object (size_type sz, T const &value, A const &) | |
template<typename In > | |
object (In beg, In end) | |
template<typename In > | |
object (In beg, In end, A const &) | |
object (fcppt::container::raw_vector::rep< A > const &) noexcept | |
Reuse the storage of another container. | |
object (std::initializer_list< value_type >) | |
object (std::initializer_list< value_type >, A const &) | |
object (object &&) noexcept | |
~object () noexcept | |
object & | operator= (object &&) noexcept |
void | push_back (T const &) |
void | pop_back () noexcept |
void | clear () noexcept |
size_type | size () const noexcept |
bool | empty () const noexcept |
size_type | capacity () const noexcept |
void | swap (object &) noexcept |
void | resize (size_type sz, T const &value) |
void | reserve (size_type sz) |
allocator_type | get_allocator () const |
iterator | insert (iterator position, T const &t) |
void | insert (iterator position, size_type sz, T const &value) |
template<typename In > | |
void | insert (iterator position, In beg, In end) |
iterator | erase (iterator position) noexcept |
iterator | erase (iterator first, iterator last) noexcept |
void | shrink_to_fit () |
using fcppt::container::raw_vector::object< T, A >::allocator_type = A |
using fcppt::container::raw_vector::object< T, A >::const_iterator = const_pointer |
using fcppt::container::raw_vector::object< T, A >::const_pointer = typename std::allocator_traits<A>::const_pointer |
using fcppt::container::raw_vector::object< T, A >::const_reference = T const & |
using fcppt::container::raw_vector::object< T, A >::difference_type = typename std::allocator_traits<A>::difference_type |
using fcppt::container::raw_vector::object< T, A >::iterator = pointer |
using fcppt::container::raw_vector::object< T, A >::pointer = typename std::allocator_traits<A>::pointer |
using fcppt::container::raw_vector::object< T, A >::reference = T & |
using fcppt::container::raw_vector::object< T, A >::size_type = typename std::allocator_traits<A>::size_type |
using fcppt::container::raw_vector::object< T, A >::value_type = T |
fcppt::container::raw_vector::object< T, A >::object | ( | ) |
|
explicit |
fcppt::container::raw_vector::object< T, A >::object | ( | size_type | sz, |
T const & | value ) |
fcppt::container::raw_vector::object< T, A >::object | ( | size_type | sz, |
T const & | value, | ||
A const & | ) |
fcppt::container::raw_vector::object< T, A >::object | ( | In | beg, |
In | end ) |
fcppt::container::raw_vector::object< T, A >::object | ( | In | beg, |
In | end, | ||
A const & | ) |
|
explicitnoexcept |
Reuse the storage of another container.
fcppt::container::raw_vector::object< T, A >::object | ( | std::initializer_list< value_type > | ) |
fcppt::container::raw_vector::object< T, A >::object | ( | std::initializer_list< value_type > | , |
A const & | ) |
|
noexcept |
|
noexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
noexcept |
|
nodiscardnoexcept |
Returns the pointer to the store.
|
nodiscardnoexcept |
Returns the pointer to the store.
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
noexcept |
|
noexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscard |
void fcppt::container::raw_vector::object< T, A >::insert | ( | iterator | position, |
In | beg, | ||
In | end ) |
void fcppt::container::raw_vector::object< T, A >::insert | ( | iterator | position, |
size_type | sz, | ||
T const & | value ) |
iterator fcppt::container::raw_vector::object< T, A >::insert | ( | iterator | position, |
T const & | t ) |
|
noexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
noexcept |
void fcppt::container::raw_vector::object< T, A >::push_back | ( | T const & | ) |
void fcppt::container::raw_vector::object< T, A >::reserve | ( | size_type | sz | ) |
void fcppt::container::raw_vector::object< T, A >::resize | ( | size_type | sz, |
T const & | value ) |
void fcppt::container::raw_vector::object< T, A >::shrink_to_fit | ( | ) |
|
nodiscardnoexcept |
|
noexcept |