Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2005-10-11 07:16:46


Hi,

the tutorial says:

   The declaration of the visitor keyword you see here is equivalent to:

   namespace graphs
   {
     namespace tag { struct visitor; }
     namespace {
       boost::parameter::keyword<tag::visitor>& visitor
       = boost::parameter::keyword<tag::visitor>::get();
     }
   }

However, BOOST_PARAMETER_KEYWORD(tag, visitor) expands to

   namespace tag { struct visitor; }
   ::boost::parameter::keyword<tag::visitor>& visitor =
     ::boost::parameter::keyword<tag::visitor>::get();

Regards,
m
Send instant messages to your online friends http://au.messenger.yahoo.com


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