
"David Abrahams" <dave@boost-consulting.com> wrote in message news:87vede48j6.fsf@grogan.peloton...
on Sat Jun 23 2007, "Gennadiy Rozental" <gennadiy.rozental-AT-thomson.com> 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: #define BOOST_TEST_SINGLETON_INST( inst ) \ 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 Gennadiy