kblib 0.2.3
General utilities library for modern C++
|
#include <kblib/containers.h>
Public Types | |
using | value_type = void |
using | difference_type = void |
using | pointer = void |
using | reference = void |
using | iterator_category = std::output_iterator_tag |
Public Member Functions | |
template<typename... Args> | |
build_iterator (Args &&... args) | |
constexpr auto | base () noexcept(std::is_nothrow_move_constructible< Container >::value) -> Container |
constexpr | operator Container () noexcept(std::is_nothrow_move_constructible< Container >::value) |
constexpr auto | operator* () const noexcept(noexcept(*std::back_inserter(*range))) -> decltype(auto) |
Creates a temporary std::back_insert_iterator for the range and returns it. More... | |
constexpr auto | operator++ () -> build_iterator & |
A no-op. More... | |
constexpr auto | operator++ (int) -> build_iterator & |
A no-op. More... | |
Definition at line 159 of file containers.h.
using kblib::build_iterator< Container, ArrayLike >::difference_type = void |
Definition at line 173 of file containers.h.
using kblib::build_iterator< Container, ArrayLike >::iterator_category = std::output_iterator_tag |
Definition at line 176 of file containers.h.
using kblib::build_iterator< Container, ArrayLike >::pointer = void |
Definition at line 174 of file containers.h.
using kblib::build_iterator< Container, ArrayLike >::reference = void |
Definition at line 175 of file containers.h.
using kblib::build_iterator< Container, ArrayLike >::value_type = void |
Definition at line 172 of file containers.h.
|
inline |
Definition at line 179 of file containers.h.
|
inlineconstexprnoexcept |
Definition at line 182 of file containers.h.
|
inlineexplicitconstexprnoexcept |
Definition at line 188 of file containers.h.
|
inlineconstexprnoexcept |
Creates a temporary std::back_insert_iterator for the range and returns it.
Returning an iterator from operator* might look strange, but std::back_insert_iterator can be assigned to to insert into the range, and its operator* returns itself anyhow.
Definition at line 202 of file containers.h.
|
inlineconstexpr |
A no-op.
Definition at line 210 of file containers.h.
|
inlineconstexpr |
A no-op.
Definition at line 216 of file containers.h.