On Monday, 27 June 2016 at 05:33:24 UTC, luminousone wrote:
On Sunday, 26 June 2016 at 22:32:55 UTC, Walter Bright wrote:
On 6/26/2016 10:18 AM, Enamex wrote:
- template arguments that accept constant values of any
type whatsoever
'template<auto Arg>';
Still adding D features, I see!
Now if only they could bring over some of D's superior template
syntax, all of the <>'s are so damned ugly, Or type reflection
features(is this even possible in c++?).
Ugh, D's template syntax is far from superior :-(.
What kind of type reflection are you thinking of? C++ has static
type traits and some very limited dynamic reflection for classes
with virtual functions, but C++ is nowhere near Python's
capabilities.
C++ does have a special interest group working on reflection:
https://root.cern.ch/blog/status-reflection-c