Boost logo

Boost :

From: Mattias Flodin (flodin_at_[hidden])
Date: 2002-05-25 04:05:20


On Sat, May 25, 2002 at 10:27:05AM +0200, Thomas Witt wrote:
> > since
> > trying to do a lexical cast between two "non-lexical" types is rather
> > nonsensical. Either you cast from text, to text, or both.
>
> I strongly disagree. Conceptually lexical_cast converts between types that
> have a textual representation, in c++ speak have suitable operator>><<
> overloads. Implicit conversion are a different concept.

Just out of curiousity, can you give any examples of where
such usage would be meaningful?

-- 
Mattias Flodin <flodin_at_[hidden]>  -  http://www.cs.umu.se/~flodin/
Room NADV 102
Department of Computing Science
Umeå University
S-901 87 Umeå, Sweden
--
Sometimes I think the world has gone completely mad. And then I think,  "Aw,
who cares?" And then I think, "Hey, what's for supper?" -- Jack Handy

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk