forked from boostorg/concept_check
update to match code
[SVN r8441]
This commit is contained in:
@@ -51,8 +51,9 @@ concept, which must be verified by careful (manual) inspection.
|
||||
<pre>
|
||||
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.
|
||||
<pre>
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user