News for hackers. Stuff that matters.
Re:C++17 constexpr everything, or as much as the compiler can by mehrdadn on Thursday December 28, 2017 @08:51PM (#16026892)
No? Wouldn't it do that with a static_assert invoking the function too?
Re:C++17 constexpr everything, or as much as the compiler can by Joky on Monday January 08, 2018 @11:36AM (#16097856)
No sure I get the question: static_assert can only invoke constexpr functions, and constexpr functions can only call themselves other constexpr functions. Since IO functions are not constexpr, you can't call them there.