Value or Reference Semantics Trait
Tobias Pankrath
tobias at pankrath.net
Mon Jan 13 05:21:54 PST 2014
On Sunday, 12 January 2014 at 20:16:15 UTC, Nordlöw wrote:
> Is there a trait to check whether a type has value or reference
> semantics?
>
> I need this in a template struct that adaptively (using static
> if) represent histogram bins as either a dense static array or
> a sparse associative array.
Adding to the other answers: std.traits.hasIndirections
More information about the Digitalmars-d-learn
mailing list