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:
Jeremy Siek
2001-01-21 18:50:42 +00:00
parent c19d9fb2bd
commit cb1156ef62

View File

@@ -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>