Boost logo

Boost :

Subject: [boost] [parameter] error in BOOST_PARAMETER_NAME reference docs
From: Ryan Gallagher (ryan.gallagher_at_[hidden])
Date: 2008-10-14 14:12:03


There appears to be an error in the BOOST_PARAMETER_NAME reference docs.
See: http://tinyurl.com/4my48e

This lists that the macro parameter "name" can be of the form:

"(tag-name, namespace-name) object-name"

Where "tag-name" is a structure defined in namespace
"namespace-name" and "object-name" is an instance of:
"::boost::parameter::keyword<tag-namespace::tag-name>::instance"

(Also note that "tag-namespace" should be "namespace-name" here.)

However, the implementation appears to actually be

"(object-name, namespace-name) tag-name"

However, this information is repeated under the
"Fine-Grained Name Control" section, in which it appears to be correct.

-Ryan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk