Boost logo

Boost :

Subject: Re: [boost] [lexical_cast] char types and UDTs
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2012-04-12 08:24:54


12.04.2012 15:20 "Mathias Gaunard" <mathias.gaunard_at_[hidden]>:
>
> Why is lexical_cast so complicated and full and quirks?
>
> All that stuff looks messy and over-engineered.

That was an example of lexical_cast with all the wishes implemented.

Current implementation is simple, and user only required to provide stream
operators << and >> to work with it.

--
Best regards,
Antony Polukhin

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