|
Rosetta
|
#include <core.h>

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 |
Private Attributes | |
| Container & | container_ |
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 & |
|
inlineexplicit |
|
inlineexplicit |
|
inlinefinalprotectedvirtual |
Increases the buffer capacity to hold at least capacity elements.
Implements detail::buffer< Container::value_type >.
References detail::buffer< T >::capacity(), and detail::buffer< T >::set().
|
inline |
|
private |