mirror of
https://github.com/boostorg/concept_check.git
synced 2025-08-03 06:24:43 +02:00
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
|
||||
// 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
|
||||
// to its suitability for any purpose.
|
||||
|
||||
#include <boost/pending/concept_checks.hpp>
|
||||
#include <boost/pending/concept_check.hpp>
|
||||
|
||||
/*
|
||||
|
||||
|
@@ -21,9 +21,9 @@
|
||||
|
||||
<H1>
|
||||
<A NAME="sec:concept-checking"></A>
|
||||
header <a href="../../boost/pending/concept_checks.hpp">
|
||||
<tt>boost/concept_checks.hpp</tt></a> and <a href="../../boost/pending/concept_archetypes.hpp">
|
||||
<tt>boost/concept_archetypes.hpp</tt></a>
|
||||
header <a href="../../boost/pending/concept_check.hpp">
|
||||
<tt>boost/concept_check.hpp</tt></a> and <a href="../../boost/pending/concept_archetype.hpp">
|
||||
<tt>boost/concept_archetype.hpp</tt></a>
|
||||
</H1>
|
||||
|
||||
<p>
|
||||
@@ -183,14 +183,14 @@ informative message (and is in fact what the Boost Concept Checking
|
||||
Library produces):
|
||||
|
||||
<pre>
|
||||
concept_checks.hpp: In method `void LessThanComparable_concept
|
||||
concept_check.hpp: In method `void LessThanComparable_concept
|
||||
<_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()'
|
||||
bad_error_eg.cpp:9: instantiated from `stable_sort<_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 *> &'
|
||||
</pre>
|
||||
|
||||
@@ -206,7 +206,7 @@ href="http://www.sgi.com/Technology/STL/RandomAccessIterator.html">
|
||||
RandomAccessIterator</a>).
|
||||
<LI> The error message is now much shorter and does not reveal
|
||||
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
|
||||
fact that the error lies in the user code and not in the library
|
||||
implementation.
|
||||
|
@@ -4,7 +4,7 @@
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// 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
|
||||
// to its suitability for any purpose.
|
||||
|
||||
#include <boost/pending/concept_checks.hpp>
|
||||
#include <boost/pending/concept_archetypes.hpp>
|
||||
#include <boost/pending/concept_check.hpp>
|
||||
#include <boost/pending/concept_archetype.hpp>
|
||||
|
||||
/*
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
// see as much of this file compile as possible.
|
||||
//
|
||||
|
||||
#include <boost/pending/concept_checks.hpp>
|
||||
#include <boost/pending/concept_check.hpp>
|
||||
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
|
@@ -4,8 +4,8 @@
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// to its suitability for any purpose.
|
||||
|
||||
#include <boost/pending/concept_checks.hpp>
|
||||
#include <boost/pending/concept_archetypes.hpp>
|
||||
#include <boost/pending/concept_check.hpp>
|
||||
#include <boost/pending/concept_archetype.hpp>
|
||||
#include <algorithm>
|
||||
#include <numeric>
|
||||
|
||||
|
@@ -127,7 +127,7 @@ gives and example of applying the concept checks to STL
|
||||
containers. The file is listed here:
|
||||
|
||||
<pre>
|
||||
#include <boost/concept_checks.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
|
Reference in New Issue
Block a user