Boost logo

Boost :

Subject: Re: [boost] [conversion] ADL and templates
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2011-05-31 13:19:29

Vicente Botet wrote:
> There is something that is troubling me on the fact that the
> developer will customize the conversion function using
> overload and ADL, but that the user could not take advantage
> in a simple way of this overloading. Taking in account that
> Boost.Conversion needs already a customization point to take
> care of conversion of types in the standard library (using
> partial specialization) the addition of the customization
> point using overload doesn't make simpler the user code,
> neither the developers customizing the class, as it would
> need to choose between two customization points that doesn't
> make any difference.
> If no one find that the additional customization (via
> overloading) point add some benefit to the library, I will
> prefer to remove it. This will have the advantage of making
> the library quite more simple without limiting his
> expression power.

I have no idea to what you're referring. I've long since lost any notion of what overloads, customization points, etc. you're discussing. Can you show, with code, what the choices are and what problems you're addressing?

Rob Stewart robert.stewart_at_[hidden]
Software Engineer using std::disclaimer;
Dev Tools & Components
Susquehanna International Group, LLP

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

Boost list run by bdawes at, gregod at, cpdaniel at, john at