diff --git a/concept_covering.htm b/concept_covering.htm index ae2a567..42b301d 100644 --- a/concept_covering.htm +++ b/concept_covering.htm @@ -51,8 +51,9 @@ concept, which must be verified by careful (manual) inspection.
template <class T> struct input_proxy { - operator T() { return t; } - static T t; + operator const T&() { + return static_object<T>::get(); // Get a reference without constructing + } }; template <class T> class trivial_iterator_archetype @@ -107,8 +108,7 @@ layered archetype can be used.{ typedef less_than_comparable_archetype< - copy_constructible_archetype< - assignable_archetype<> > > ValueType; + sgi_assignable_archetype<> > ValueType; random_access_iterator_archetype<ValueType> ri; std::stable_sort(ri, ri); }