12 template<
typename Self >
16 return *
static_cast< const Self *
>( this );
49 template<
typename Self >
51 public std::iterator<std::output_iterator_tag, void, void, void, void>
54 return *
static_cast<Self*
>(
this);
59 Self res = *
static_cast<Self*
>(
this);
65 return *
static_cast<Self*
>(
this);
bool operator!=(const Self &o) const
Definition: mixin.h:19
Iterator< typename I::value_type > iterator(I i)
Definition: iterator.h:123
Self & operator++()
Definition: mixin.h:53
bool operator>=(const Self &o) const
Definition: mixin.h:35
bool operator>(const Self &o) const
Definition: mixin.h:31
Self & operator*()
Definition: mixin.h:64
bool operator<(const Self &o) const
Definition: mixin.h:27
const Self & cmpSelf() const
Definition: mixin.h:15
bool operator==(const Self &o) const
Definition: mixin.h:23
Mixin with output iterator paperwork.
Definition: mixin.h:50
Self operator++(int)
Definition: mixin.h:57