
"Andy Little" <andy@servocomm.freeserve.co.uk> writes:
"Andy Little" <andy@servocomm.freeserve.co.uk> wrote in message news:dr8qlg$ken$1@sea.gmane.org...
"David Abrahams" wrote
It's simple: it's a cast you use when the source type is implicitly convertible to the target type, to force the implicit conversion. It's less liberal than static_cast, which will convert in the opposite direction.
Hows the attached? Its <libs/conversion/index.html> with the above info on implicit_cast added.
I can see the attachments mangled. Here's the text.
In future send your attachment as a patch and it will come through OK. So, thanks, but it's not really sufficient. Linking to the header is really unacceptable, IMO. It should link to an HTML file with a specification of the signature of implicit cast, its requirements, effects, etc., and preferably, an example. P.S. I can see that I already wrote a test for implicit_cast, so consider yourself lucky that I'm not asking you for one of those ;-) P.P.S. I'm actually very grateful that you've done anything; I'm just trying to scam you into finishing the job and doing it right ;-) -- Dave Abrahams Boost Consulting www.boost-consulting.com