forked from boostorg/concept_check
made private default cons, and added copy cons to output_iterator archetype,
some indenting changes to container_traits [SVN r8681]
This commit is contained in:
@@ -507,13 +507,15 @@ namespace boost {
|
|||||||
typedef output_proxy<T> reference;
|
typedef output_proxy<T> reference;
|
||||||
typedef void pointer;
|
typedef void pointer;
|
||||||
typedef void difference_type;
|
typedef void difference_type;
|
||||||
output_iterator_archetype() { }
|
output_iterator_archetype(const self&) { }
|
||||||
self& operator=(const self&) { return *this; }
|
self& operator=(const self&) { return *this; }
|
||||||
bool operator==(const self&) const { return true; }
|
bool operator==(const self&) const { return true; }
|
||||||
bool operator!=(const self&) const { return true; }
|
bool operator!=(const self&) const { return true; }
|
||||||
reference operator*() const { return output_proxy<T>(); }
|
reference operator*() const { return output_proxy<T>(); }
|
||||||
self& operator++() { return *this; }
|
self& operator++() { return *this; }
|
||||||
self operator++(int) { return *this; }
|
self operator++(int) { return *this; }
|
||||||
|
private:
|
||||||
|
output_iterator_archetype() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
Reference in New Issue
Block a user