> From: Stewart, Robert [mailto:stewart@sig.com]
>
> Of course. Hmmm. How about this:
>
> lexical_convert(source)->(target);
>
> The idea is that lexical_convert() returns an object that
> defines operator
> ->() that returns an object that will take a non-const
> reference to some
> type for the conversion. I don't think this would be a problem to
> implement, but then I haven't tried it!
>
As aesthetically pleasing as I find the syntax, I do feel the solution is somewhat contrived. It'd fit well with "people like us", but probably not with "the rest" ;-)
Bjorn