Moved boost/concept/where.hpp to boost/concept/requires.hpp

Updated reference.htm to include BOOST_CONCEPT_REQUIRES

Fixed a copyright notice.


[SVN r40770]
This commit is contained in:
Dave Abrahams
2007-11-05 04:43:31 +00:00
parent 7dd50ca8f2
commit d9ae976994
4 changed files with 23 additions and 13 deletions

View File

@@ -1,17 +1,10 @@
<HTML> <HTML>
<!-- <!-- Copyright (c) Jeremy Siek 2000 -->
-- Copyright (c) Jeremy Siek 2000 <!-- Distributed under the Boost -->
-- <!-- Software License, Version 1.0. (See accompanying -->
-- Permission to use, copy, modify, distribute and sell this software <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
-- and its documentation for any purpose is hereby granted without fee,
-- provided that the above copyright notice appears in all copies and
-- that both that copyright notice and this permission notice appear
-- in supporting documentation. Silicon Graphics makes no
-- representations about the suitability of this software for any
-- purpose. It is provided "as is" without express or implied warranty.
-->
<Head> <Head>
<Title>Boost Graph Library: Bibliography</Title> <Title>Boost Concept Checking Library: Bibliography</Title>
<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
ALINK="#ff0000"> ALINK="#ff0000">
<IMG SRC="../../boost.png" <IMG SRC="../../boost.png"

View File

@@ -5,7 +5,7 @@
# define BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP # define BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP
# include <boost/detail/iterator.hpp> # include <boost/detail/iterator.hpp>
# include <boost/concept/where.hpp> # include <boost/concept/requires.hpp>
# include <boost/concept_check.hpp> # include <boost/concept_check.hpp>
namespace fake namespace fake

View File

@@ -66,6 +66,23 @@ BOOST_CONCEPT_ASSERT((<em>concept checking class template specialization</em>));
<strong>Note:</strong> this macro can be used at global, class, or function <strong>Note:</strong> this macro can be used at global, class, or function
scope.</p> scope.</p>
<pre>
#include "boost/concept/requires.hpp"
<font color="gray">template &lt;<em>template parameters</em>&gt;</font>
BOOST_CONCEPT_REQUIRES(
((<em>concept checking class template specialization<sub>1</sub></em>))
((<em>concept checking class template specialization<sub>2</sub></em>))…
((<em>concept checking class template specialization<sub>n</sub></em>))<strong>,</strong>
(<em>function return type</em>)
) <font color="gray"><em>function_template_name</em>(…<em>function parameters</em>…)</font>
</pre>
<p><strong>Effects:</strong> causes a compilation failure if the
given concepts are not satisfied.<br />
<strong>Note:</strong> this macro is intended to be used in place of
a function template's return type.</p>
<h3><a name="basic-concepts" id="basic-concepts">Basic Concept Checking <h3><a name="basic-concepts" id="basic-concepts">Basic Concept Checking
Classes</a></h3> Classes</a></h3>
<pre> <pre>