From 1e40fc4eec8e9a2b1b763ed82758e71ccbebe350 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Sat, 17 Jan 2004 14:25:16 +0000 Subject: [PATCH] name changes [SVN r1893] --- doc/named_params.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/named_params.html b/doc/named_params.html index b4039dd..4f88939 100755 --- a/doc/named_params.html +++ b/doc/named_params.html @@ -282,7 +282,7 @@ template< , class HasDefaultValue // mpl::true_ or mpl::false_ , class Predicate > -struct arg; +struct named_param;

The key parameter, Predicate shall be a unary MPL lambda expression or Metafunction Class that, when applied to the @@ -291,11 +291,11 @@ meets the function's requirements for that parameter position.

For example, let's say we want to restrict our foo() so that the name parameter must be convertible to const char*. We'll replace our use of the name_t tag with a specialization -of boost::arg:

+of boost::named_param:

 struct foo_keywords
   : boost::keywords<
-        boost::arg<
+        boost::named_param<
             name_t
           , mpl::false_
           , is_convertible<mpl::_, const char*>
@@ -436,8 +436,7 @@ of lack of SFINAE support.