How to removes an variable topmost const. like remove_const in C++.

Paul Backus snarwin at gmail.com
Thu Aug 22 18:54:03 UTC 2019


On Thursday, 22 August 2019 at 18:50:59 UTC, lili wrote:
> Hi:
>    I write a template function is below, that need to remove 
> const topmost if has.
>     How to do this?


https://dlang.org/phobos/std_traits.html#Unqual


More information about the Digitalmars-d-learn mailing list