Re: Value Reference Type Traits

2014-07-12 Thread Nordlöw
On Friday, 11 July 2014 at 16:22:37 UTC, anonymous wrote: There's http://dlang.org/phobos/std_traits.html#hasIndirections Thx.

Value Reference Type Traits

2014-07-11 Thread Nordlöw
Is there a trait to check if a type is a - value type (struct, static array, etc) - reference type (class, dynamic array, string, etc) ?

Re: Value Reference Type Traits

2014-07-11 Thread anonymous via Digitalmars-d-learn
On Friday, 11 July 2014 at 16:10:31 UTC, Nordlöw wrote: Is there a trait to check if a type is a - value type (struct, static array, etc) - reference type (class, dynamic array, string, etc) ? There's http://dlang.org/phobos/std_traits.html#hasIndirections Note that structs and static