
26 Oct
2009
26 Oct
'09
9:04 p.m.
Stewart, Robert wrote:
I fail to understand why
convert_to(b, type_tag<A>())
is acceptable and
convert_to<A>(b)
is not in any circumstance.
For what it's worth, I strongly prefer the syntax of the latter -- it works just like the built-in new-style casts and boost::lexical_cast. --Jeffrey Bosboom