Post B5Z1TumZrwTOOhaJqC by alison@burningboard.net
 (DIR) More posts by alison@burningboard.net
 (DIR) Post #B5YxjKyiMA4OAYMOlE by thephd@pony.social
       0 likes, 0 repeats
       
       What in God's Name is wrong with libstdc++ and GCC that there isn't a proper compile-time assert / compile-time abort feature??
       
 (DIR) Post #B5YyuUFsJ1Pk52Gdcm by kabel42@polymaths.social
       0 likes, 0 repeats
       
       @thephd whats wrong with static_assert? Genuinely asking, I've not used it much.
       
 (DIR) Post #B5YyuUXbF7amy0YnFg by thephd@pony.social
       0 likes, 0 repeats
       
       @kabel42 I wasn't being specific; I need something I can call in a consteval function that will trigger an error, but only if the compiler tries to evaluate it.It seems the only function that does that is std::terminate().
       
 (DIR) Post #B5Z18pvEkDnrF4aHNg by thephd@pony.social
       0 likes, 0 repeats
       
       Oh okay this isn't a GCC issue it works fine on Godbolt, I'm just stupid.
       
 (DIR) Post #B5Z1TumZrwTOOhaJqC by alison@burningboard.net
       0 likes, 0 repeats
       
       @thephd @kabel42 This article:https://accu.org/journals/overload/31/177/janzen/from @ACCU is a great reference.