
25 Jan
2006
25 Jan
'06
8:12 p.m.
"Andy Little" <andy@servocomm.freeserve.co.uk> writes:
I'm joking of course. I think it really needs someone who knows a bit about the details for this two phase conversion thingy to write a bit of documentation and put it in say <libs/conversion/cast.htm>
2-phase conversion?
For myself I know what it does, but dont know how to describe it, else i'd write it.
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. Where's the mystery? -- Dave Abrahams Boost Consulting www.boost-consulting.com