GCC9 currently hits a "no type named 'value_type'" error during build if this is removed and iterator traits are listed within the class corresponding to the C++17 standard. More...
#include <InfixIterator.h>
Public Types | |
| typedef charT | char_type |
| typedef traits | traits_type |
| typedef std::basic_ostream< charT, traits > | ostream_type |
Public Member Functions | |
| infix_ostream_iterator (ostream_type &s) | |
| infix_ostream_iterator (ostream_type &s, charT const *d, bool first=true) | |
| infix_ostream_iterator< T, charT, traits > & | operator= (T const &item) |
| infix_ostream_iterator< T, charT, traits > & | operator* () |
| infix_ostream_iterator< T, charT, traits > & | operator++ () |
| infix_ostream_iterator< T, charT, traits > & | operator++ (int) |
Private Types | |
| using | iterator_category = std::output_iterator_tag |
Private Attributes | |
| std::basic_ostream< charT, traits > * | os |
| charT const * | delimiter |
| bool | first_elem |
GCC9 currently hits a "no type named 'value_type'" error during build if this is removed and iterator traits are listed within the class corresponding to the C++17 standard.
This preserves use of std::iterator for GCC9 and earlier.
Definition at line 20 of file InfixIterator.h.
| typedef charT infix_ostream_iterator< T, charT, traits >::char_type |
Definition at line 39 of file InfixIterator.h.
|
private |
Definition at line 31 of file InfixIterator.h.
| typedef std::basic_ostream<charT, traits> infix_ostream_iterator< T, charT, traits >::ostream_type |
Definition at line 41 of file InfixIterator.h.
| typedef traits infix_ostream_iterator< T, charT, traits >::traits_type |
Definition at line 40 of file InfixIterator.h.
|
inline |
Definition at line 42 of file InfixIterator.h.
|
inline |
Definition at line 43 of file InfixIterator.h.
|
inline |
Definition at line 57 of file InfixIterator.h.
|
inline |
Definition at line 58 of file InfixIterator.h.
|
inline |
Definition at line 59 of file InfixIterator.h.
|
inline |
Definition at line 47 of file InfixIterator.h.
|
private |
Definition at line 35 of file InfixIterator.h.
Referenced by infix_ostream_iterator< T, charT, traits >::operator=().
|
private |
Definition at line 36 of file InfixIterator.h.
Referenced by infix_ostream_iterator< T, charT, traits >::operator=().
|
private |
Definition at line 34 of file InfixIterator.h.
Referenced by infix_ostream_iterator< T, charT, traits >::operator=().