forked from boostorg/concept_check
concept_checks.hpp -> concept_check.hpp
[SVN r8414]
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
// "as is" without express or implied warranty, and with no claim as
|
// "as is" without express or implied warranty, and with no claim as
|
||||||
// to its suitability for any purpose.
|
// to its suitability for any purpose.
|
||||||
|
|
||||||
#include <boost/pending/concept_checks.hpp>
|
#include <boost/pending/concept_check.hpp>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
// "as is" without express or implied warranty, and with no claim as
|
// "as is" without express or implied warranty, and with no claim as
|
||||||
// to its suitability for any purpose.
|
// to its suitability for any purpose.
|
||||||
|
|
||||||
#include <boost/pending/concept_checks.hpp>
|
#include <boost/pending/concept_check.hpp>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
<H1>
|
<H1>
|
||||||
<A NAME="sec:concept-checking"></A>
|
<A NAME="sec:concept-checking"></A>
|
||||||
header <a href="../../boost/pending/concept_checks.hpp">
|
header <a href="../../boost/pending/concept_check.hpp">
|
||||||
<tt>boost/concept_checks.hpp</tt></a> and <a href="../../boost/pending/concept_archetypes.hpp">
|
<tt>boost/concept_check.hpp</tt></a> and <a href="../../boost/pending/concept_archetype.hpp">
|
||||||
<tt>boost/concept_archetypes.hpp</tt></a>
|
<tt>boost/concept_archetype.hpp</tt></a>
|
||||||
</H1>
|
</H1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -183,14 +183,14 @@ informative message (and is in fact what the Boost Concept Checking
|
|||||||
Library produces):
|
Library produces):
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
concept_checks.hpp: In method `void LessThanComparable_concept
|
concept_check.hpp: In method `void LessThanComparable_concept
|
||||||
<_List_iterator<foo,foo &,foo *> >::constraints()':
|
<_List_iterator<foo,foo &,foo *> >::constraints()':
|
||||||
concept_checks.hpp:334: instantiated from `RandomAccessIterator_concept
|
concept_check.hpp:334: instantiated from `RandomAccessIterator_concept
|
||||||
<_List_iterator<foo,foo &,foo *> >::constraints()'
|
<_List_iterator<foo,foo &,foo *> >::constraints()'
|
||||||
bad_error_eg.cpp:9: instantiated from `stable_sort<_List_iterator
|
bad_error_eg.cpp:9: instantiated from `stable_sort<_List_iterator
|
||||||
<foo,foo &,foo *> >(_List_iterator<foo,foo &,foo *>,
|
<foo,foo &,foo *> >(_List_iterator<foo,foo &,foo *>,
|
||||||
_List_iterator<foo,foo &,foo *>)'
|
_List_iterator<foo,foo &,foo *>)'
|
||||||
concept_checks.hpp:209: no match for `_List_iterator<foo,foo &,foo *> &
|
concept_check.hpp:209: no match for `_List_iterator<foo,foo &,foo *> &
|
||||||
< _List_iterator<foo,foo &,foo *> &'
|
< _List_iterator<foo,foo &,foo *> &'
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ href="http://www.sgi.com/Technology/STL/RandomAccessIterator.html">
|
|||||||
RandomAccessIterator</a>).
|
RandomAccessIterator</a>).
|
||||||
<LI> The error message is now much shorter and does not reveal
|
<LI> The error message is now much shorter and does not reveal
|
||||||
internal STL functions.
|
internal STL functions.
|
||||||
<LI> The presence of <tt>concept_checks.hpp</tt> and
|
<LI> The presence of <tt>concept_check.hpp</tt> and
|
||||||
<tt>constraints()</tt> in the error message alerts the user to the
|
<tt>constraints()</tt> in the error message alerts the user to the
|
||||||
fact that the error lies in the user code and not in the library
|
fact that the error lies in the user code and not in the library
|
||||||
implementation.
|
implementation.
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
// "as is" without express or implied warranty, and with no claim as
|
// "as is" without express or implied warranty, and with no claim as
|
||||||
// to its suitability for any purpose.
|
// to its suitability for any purpose.
|
||||||
|
|
||||||
#include <boost/pending/concept_checks.hpp>
|
#include <boost/pending/concept_check.hpp>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
// "as is" without express or implied warranty, and with no claim as
|
// "as is" without express or implied warranty, and with no claim as
|
||||||
// to its suitability for any purpose.
|
// to its suitability for any purpose.
|
||||||
|
|
||||||
#include <boost/pending/concept_checks.hpp>
|
#include <boost/pending/concept_check.hpp>
|
||||||
#include <boost/pending/concept_archetypes.hpp>
|
#include <boost/pending/concept_archetype.hpp>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
// see as much of this file compile as possible.
|
// see as much of this file compile as possible.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/pending/concept_checks.hpp>
|
#include <boost/pending/concept_check.hpp>
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
// "as is" without express or implied warranty, and with no claim as
|
// "as is" without express or implied warranty, and with no claim as
|
||||||
// to its suitability for any purpose.
|
// to its suitability for any purpose.
|
||||||
|
|
||||||
#include <boost/pending/concept_checks.hpp>
|
#include <boost/pending/concept_check.hpp>
|
||||||
#include <boost/pending/concept_archetypes.hpp>
|
#include <boost/pending/concept_archetype.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
|
@@ -127,7 +127,7 @@ gives and example of applying the concept checks to STL
|
|||||||
containers. The file is listed here:
|
containers. The file is listed here:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
#include <boost/concept_checks.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
Reference in New Issue
Block a user