05-Jan-2013 22:58, Philippe Sigaud пишет:

So, here is my own small list:

- is(Type name = A!(Args), Args...) now exists. The Args... part is new.
- the new (a,b) => a+b syntax was introduced
- the eponymous trick works even when other non-eponymous members are
defined
- error reporting got better
- CTFE got better.
- auto ref?
- __ctfe. I think it arrived just when I wrote the doc. I've now used
it and it works great!
- UFCS: not a template feature per se, but quite useful in conjunction
with templates.
- UDA. ditto, except I know zilch about them. But, type & value
manipulation at compile-time, them I know.


No one can help me complete my list? Has any other thing changed in
template-land in 2012?


Some new traits happened.
Not there is a way to peek at function parameter identifiers (!):
http://dlang.org/phobos/std_traits.html#.ParameterIdentifierTuple
+ something else I might forgot in std.traits, it's worth revisiting
+ isPOD in compiler's __traits


--
Dmitry Olshansky

Reply via email to