|
Boost : |
From: Steven Watanabe (steven_at_[hidden])
Date: 2007-04-03 13:28:09
AMDG
Richard Smith <richard <at> ex-parrot.com> writes:
>
>
> I've just found what I believe to be a new regression on the
> boost RC_1_34_0 branch relative to the 1.33.1 release. The
> example below is a simplified extract of some real world
> where the behaviour of boost::none silently changes.
>
> <snip>
Doesn't internal linkage in headers have the same
problem as unnamed namespaces? Is there some reason
we can't use
namespace boost {
namespace detail { struct none_helper {}; };
typedef int (*none_t)(none_helper);
inline int none(none_helper) {}
}
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk