From: David Abrahams (dave_at_[hidden])
Date: 2004-07-22 17:50:19
"Arkadiy Vertleyb" <vertleyb_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote
>> "Arkadiy Vertleyb" <vertleyb_at_[hidden]> writes:
>> > I guess my point is that I would like to prove that ODR is not important
>> > this case, but I don't have enough knowledge of compilers to do it with
>> > reasonable accuracy :(
>> Here's my data point: so far the ODR problem with Boost.Bind
>> placeholders has never caused any complaints.
> If we decided to go with automatic registration, would you suggest putting
> the registration templates inside the anonimous namespace?
> By the way, Daniel James suggested an idea which I didn't like first, but,
> come to think about it, might be not that bad after all:
> We could create a compile-time GUID template, and register against its
> instantiations. Some of the outputs of the Guidgen are quite suitable for
> instantiation of such a template. This class could be passed from the
> function using sizeof() in four steps...
> Probably an overkill, though. And would probably introduce noticable
> compile-time performance penalty...
I don't understand it, so no comment.
> Besides, is GUID a portable concept?
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com