name changes

[SVN r1892]
This commit is contained in:
Daniel Wallin
2004-01-17 14:17:07 +00:00
parent 565e6cbcb9
commit f177c83cc1

View File

@@ -271,7 +271,7 @@ through the following class template::
, class HasDefaultValue // mpl::true_ or mpl::false_ , class HasDefaultValue // mpl::true_ or mpl::false_
, class Predicate , class Predicate
> >
struct arg; struct named_param;
The key parameter, ``Predicate`` shall be a unary MPL lambda The key parameter, ``Predicate`` shall be a unary MPL lambda
expression or `Metafunction Class`_ that, when applied to the expression or `Metafunction Class`_ that, when applied to the
@@ -288,13 +288,13 @@ meets the function's requirements for that parameter position.
For example, let's say we want to restrict our ``foo()`` so that For example, let's say we want to restrict our ``foo()`` so that
the ``name`` parameter must be convertible to ``const char*``. the ``name`` parameter must be convertible to ``const char*``.
We'll replace our use of the ``name_t`` tag with a specialization We'll replace our use of the ``name_t`` tag with a specialization
of ``boost::arg``: of ``boost::named_param``:
.. parsed-literal:: .. parsed-literal::
struct foo_keywords struct foo_keywords
: boost::keywords< : boost::keywords<
**boost::arg< **boost::named_param<
name_t name_t
, mpl::false\_ , mpl::false\_
, is_convertible<mpl::\_, const char\*> , is_convertible<mpl::\_, const char\*>