On Wed, May 19, 2010 at 3:55 AM, bearophile wrote:
>
>> As a side note, C++0x is going to add a new suffix operator to C++. This
>> operator would be useful in its own right. Are there any plans to add a
>> new opSuffix!("s") operator in D?
>
> Quite probably it will not become part of D, I think
F. Almeida:
> Now, in 2010, I've been giving D 2.0 a second chance and I'm happy
> with it. Strings, dynamic arrays and hash tables couldn't be easier
> to use and the option of metaprogramming presents way more
> possibilities than C++.
And there's a bit of possibility still to have AST macros i
I see. The templated implementation is a big improvement. If the
intention was to prevent people to turn "+" into concatenation for
example, I'm afraid anybody really keen on doing so would still overload
opAdd.
As a side note, C++0x is going to add a new suffix operator to C++. This
operator would
F. Almeida wrote:
I have a few questions about syntax.
1) Operator overloading
First of all, I find the operator overloading weird. This is because
I'm used to C++'s syntax "operator+" and "operator+=", for example,
instead of "opAdd" and "opAddAssign". While I understand that it
gives plenty