|
Boost : |
Subject: Re: [boost] [review] Convert library
From: Joel de Guzman (djowel_at_[hidden])
Date: 2014-05-26 18:10:27
On 5/26/14, 8:52 PM, Vladimir Batov wrote:
> Joel de Guzman wrote
>>> impressive. Although getting spirit-related code to compile takes
>>> so-o-o-o
>>> many times longer. :-)
>>
>> Yeah, the compiler will have to travel to the north pole and
>> ask some elves to fully optimize the code ;-) In the end, it will
>> be worth it. Promise!
>>
>> There's an even faster solution, but the result will always be 42.
>> I'm not sure if you want that :-/
>>
>> Regards,
>> Joel de Guzman
>
> Can't stop laughing... I needed that. Thank you... "the result will always
> be 42". I love that.
Seriously, both Qi and Karma have these numeric i/o conversions factored
out in some low level numeric utility helpers that you can use directly
without having to go to the expression template facade.
Regards,
-- Joel de Guzman http://www.ciere.com http://boost-spirit.com http://www.cycfi.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk