On 28/11/2012, at 3:07 PM, James Dennett wrote:
>
> On the bright side, decltype/declval make it a one-liner.
>
> #include // for declval
>
> template
> using type_of_sum = decltype(::std::declval() + ::std::declval());
>
> type_of_sum s = 1LL + 7UL;
Ah, thanks for that! Hadn't thought of
On Wed, Nov 21, 2012 at 8:32 PM, john skaller wrote:
> I'm not completely sure what C++11 stuff would be most useful
> to Felix. A lot of the stuff that avoids book-keeping for human programmers
> is no problem in generated code.
>
> Some of the new library containers may be useful.
>
> In the co
I'm not completely sure what C++11 stuff would be most useful
to Felix. A lot of the stuff that avoids book-keeping for human programmers
is no problem in generated code.
Some of the new library containers may be useful.
In the core language, initialiser syntax like
X = { .. }
would be