HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > > Class Template Referencefinal

#include <core.h>

+ Inheritance diagram for detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >:

Public Member Functions

 iterator_buffer (Container &c)
 
 iterator_buffer (std::back_insert_iterator< Container > out, size_t=0)
 
std::back_insert_iterator
< Container > 
out ()
 
- Public Member Functions inherited from detail::buffer< Container::value_type >
 buffer (const buffer &)=delete
 
void operator= (const buffer &)=delete
 
Container::value_type * begin () FMT_NOEXCEPT
 
const Container::value_type * begin () const FMT_NOEXCEPT
 
Container::value_type * end () FMT_NOEXCEPT
 
const Container::value_type * end () const FMT_NOEXCEPT
 
size_t size () const FMT_NOEXCEPT
 
size_t capacity () const FMT_NOEXCEPT
 
Container::value_type * data () FMT_NOEXCEPT
 
const Container::value_type * data () const FMT_NOEXCEPT
 
void clear ()
 
void try_resize (size_t count)
 
void try_reserve (size_t new_capacity)
 
void push_back (const Container::value_type &value)
 
void append (const U *begin, const U *end)
 
Container::value_type & operator[] (I index)
 
const Container::value_type & operator[] (I index) const
 

Protected Member Functions

void grow (size_t capacity) final FMT_OVERRIDE
 
- Protected Member Functions inherited from detail::buffer< Container::value_type >
 buffer (size_t sz) FMT_NOEXCEPT
 
 buffer (Container::value_type *p=nullptr, size_t sz=0, size_t cap=0) FMT_NOEXCEPT
 
 ~buffer ()=default
 
void set (Container::value_type *buf_data, size_t buf_capacity) FMT_NOEXCEPT
 

Additional Inherited Members

- Public Types inherited from detail::buffer< Container::value_type >
using value_type = Container::value_type
 
using const_reference = const Container::value_type &
 

Detailed Description

template<typename Container>
class detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >

Definition at line 810 of file core.h.

Constructor & Destructor Documentation

template<typename Container >
detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >::iterator_buffer ( Container &  c)
inlineexplicit

Definition at line 824 of file core.h.

template<typename Container >
detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >::iterator_buffer ( std::back_insert_iterator< Container >  out,
size_t  = 0 
)
inlineexplicit

Definition at line 826 of file core.h.

Member Function Documentation

template<typename Container >
void detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >::grow ( size_t  capacity)
inlinefinalprotectedvirtual

Increases the buffer capacity to hold at least capacity elements.

Implements detail::buffer< Container::value_type >.

Definition at line 818 of file core.h.

template<typename Container >
std::back_insert_iterator<Container> detail::iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >::out ( )
inline

Definition at line 828 of file core.h.


The documentation for this class was generated from the following file: