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?