From cb1156ef62ad2a68c8ef78ebe1aa762f938a4ade Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sun, 21 Jan 2001 18:50:42 +0000 Subject: [PATCH] made private default cons, and added copy cons to output_iterator archetype, some indenting changes to container_traits [SVN r8681] --- include/boost/concept_archetype.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/concept_archetype.hpp b/include/boost/concept_archetype.hpp index 86fe297..d558aee 100644 --- a/include/boost/concept_archetype.hpp +++ b/include/boost/concept_archetype.hpp @@ -507,13 +507,15 @@ namespace boost { typedef output_proxy reference; typedef void pointer; typedef void difference_type; - output_iterator_archetype() { } - self& operator=(const self&) { return *this; } + output_iterator_archetype(const self&) { } + self& operator=(const self&) { return *this; } bool operator==(const self&) const { return true; } bool operator!=(const self&) const { return true; } reference operator*() const { return output_proxy(); } self& operator++() { return *this; } self operator++(int) { return *this; } + private: + output_iterator_archetype() { } }; template