Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-06-23 22:04:10

"David Abrahams" <dave_at_[hidden]> wrote in message
> on Sat Jun 23 2007, "Gennadiy Rozental" <>
> wrote:
>> After rereading this whole thread, I am still unclear: what is a proper
>> way
>> to implement there stateless keywords?
> look at boost/parameter/keyword.hpp

Will do.

>> Also I believe in many other places I am using type& within unnamed
>> namespace. This seems to be valid usage, right?
> You've left out too much detail for me to make a determination.

This is essentially boost/test/trivial_singleton.hpp:

namespace { BOOST_JOIN( inst, _t)& inst = BOOST_JOIN( inst,
_t)::instance(); }

Here inst ## _t is type of singleton and inst is a reference to the instance


Boost list run by bdawes at, gregod at, cpdaniel at, john at