How to port C++ std::is_reference<T> to D ?

wjoe invalid at example.com
Wed May 13 13:36:14 UTC 2020


On Monday, 11 May 2020 at 19:08:09 UTC, Q. Schroll wrote:
>[...]
>
> 1. You can have variables ("data members") of reference type in 
> structs. (They work like head-const pointers; if D had 
> head-const or at least head-const pointers, those would be 
> practically the same, only that references cannot be null.)
> [...]


That's also something I don't really know how to correctly port 
to D.
Anyways, that was insightful. Thank you very much for your 
explanations.


More information about the Digitalmars-d-learn mailing list