Boost logo

Boost :

Subject: Re: [boost] [xint] Boost.XInt formal review
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2011-03-07 08:21:25


On 07.03.2011 14:10, Joel Falcou wrote:
> On 07/03/11 14:00, Sebastian Redl wrote:
>
>> The problem with the whole thing is that the lifetime becomes
>> complicated, so it's very hard for a C++ programmer to see if a piece of
>> code is correct.
>
> Now, is it a proto problem or a 0x problem ?
> i think the latter
Well, it's a mismatch between expression templates as developed in 03
and the way 0x auto works. If a type could specify a substitution type
for non-temporaries, that would make things very interesting. But there
is no such feature.

Sebastian


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