#include <format.h>
Public Types | |
using | value_type = typename traits::value_type |
Public Types inherited from truncating_iterator_base< OutputIt > | |
using | iterator_category = std::output_iterator_tag |
using | difference_type = void |
using | pointer = void |
using | reference = void |
using | _Unchecked_type = truncating_iterator_base |
Public Member Functions | |
truncating_iterator (OutputIt out, std::size_t limit) | |
truncating_iterator & | operator++ () |
truncating_iterator | operator++ (int) |
value_type & | operator* () const |
Public Member Functions inherited from truncating_iterator_base< OutputIt > | |
OutputIt | base () const |
std::size_t | count () const |
Private Types | |
using | traits = std::iterator_traits< OutputIt > |
Private Attributes | |
traits::value_type | blackhole_ |
Additional Inherited Members | |
Protected Member Functions inherited from truncating_iterator_base< OutputIt > | |
truncating_iterator_base (OutputIt out, std::size_t limit) | |
Protected Attributes inherited from truncating_iterator_base< OutputIt > | |
OutputIt | out_ |
std::size_t | limit_ |
std::size_t | count_ |
using value_type = typename traits::value_type |
truncating_iterator | ( | OutputIt | out, |
std::size_t | limit | ||
) |
value_type& operator* | ( | ) | const |
truncating_iterator& operator++ | ( | ) |
truncating_iterator operator++ | ( | int | ) |