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

Reply via email to