Bill Baxter Wrote:
> Does anyone have a good template for checking if a struct is
> semantically a pure value type or not?

I think IsReferenceType in the templates module of my dlibs may be fit:
http://www.fantascienza.net/leonardo/so/dlibs/templates.html
Code:
http://www.fantascienza.net/leonardo/so/libs_d.zip
(Works with D1, Phobos).

Bye,
bearophile

Reply via email to