Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3112: Tag object initialization not guaranteed legal
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-29 18:31:49
#3112: Tag object initialization not guaranteed legal
---------------------------+------------------------------------------------
Reporter: dave | Owner: danielw
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: parameter
Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment(by danielw):
Isn't that exactly what we are already doing?
{{{
template <class tag>
struct keyword
{
...
static keyword<Tag> const instance;
};
template <class Tag>
keyword<Tag> const keyword<Tag>::instance = {};
...
namespace \
{ \
::boost::parameter::keyword<tag_namespace::name> const& name \
= ::boost::parameter::keyword<tag_namespace::name>::instance;\
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3112#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC