
3 Apr
2007
3 Apr
'07
5:28 p.m.
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