Compile time opAssign/@property constraints

Jacob Shtokolov jacob.100205 at
Fri Jan 4 11:50:30 UTC 2019

On Friday, 4 January 2019 at 11:41:59 UTC, Simen Kjærås wrote:
> The thing is, compile-time tests like static if and static 
> assert can only test values that are known at compile-time, and 
> are for the most part useful only in templates.

Thanks for this answer! That's sad to hear.
But, is there anything to do with CTFE? Can it help somehow in 
such situation?

More information about the Digitalmars-d-learn mailing list