4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::container::raw_vector::rep< A > Class Template Reference

Detailed Description

template<typename A>
class fcppt::container::raw_vector::rep< A >

The representation of a raw vector.

Can be used to initialize a raw vector by taking ownership of the memory from another container.

Template Parameters
AThe allocator type.

Public Types

using pointer = typename std::allocator_traits<A>::pointer
 
using first_t = fcppt::strong_typedef< pointer ,_>
 
using last_t = fcppt::strong_typedef< pointer ,_>
 
using cap_t = fcppt::strong_typedef< pointer ,_>
 

Public Member Functions

 rep (A const &, first_t, last_t, cap_t) noexcept
 
A const & alloc () const noexcept
 
pointer first () const noexcept
 
pointer last () const noexcept
 
pointer cap () const noexcept
 

Member Typedef Documentation

◆ cap_t

template<typename A >
using fcppt::container::raw_vector::rep< A >::cap_t = fcppt::strong_typedef< pointer ,_>

◆ first_t

template<typename A >
using fcppt::container::raw_vector::rep< A >::first_t = fcppt::strong_typedef< pointer ,_>

◆ last_t

template<typename A >
using fcppt::container::raw_vector::rep< A >::last_t = fcppt::strong_typedef< pointer ,_>

◆ pointer

template<typename A >
using fcppt::container::raw_vector::rep< A >::pointer = typename std::allocator_traits<A>::pointer

Constructor & Destructor Documentation

◆ rep()

template<typename A >
fcppt::container::raw_vector::rep< A >::rep ( A const & ,
first_t ,
last_t ,
cap_t  )
noexcept

Member Function Documentation

◆ alloc()

template<typename A >
A const & fcppt::container::raw_vector::rep< A >::alloc ( ) const
nodiscardnoexcept

◆ cap()

template<typename A >
pointer fcppt::container::raw_vector::rep< A >::cap ( ) const
nodiscardnoexcept

◆ first()

template<typename A >
pointer fcppt::container::raw_vector::rep< A >::first ( ) const
nodiscardnoexcept

◆ last()

template<typename A >
pointer fcppt::container::raw_vector::rep< A >::last ( ) const
nodiscardnoexcept