Re:Show HN: C++ runtime/compile-time detection in constexpr ...
by nickelbox on Tuesday August 08, 2017 @12:26PM
(#14959462)
So would a valid tl;dr be, "modify the compiled program to catch any invocations not evaluated at compile time and make them return the correct value?"
Re:Show HN: C++ runtime/compile-time detection in constexpr ...
by CuriousThinker on Tuesday August 08, 2017 @12:31PM
(#14959529)
That is basically it :)
http://saadahmad.ca/detecting-evaluation-context-inside-cons...