HNHacker News
TopNewBestAskShowJobs

CuriousThinker

42 karma · joined August 8, 2017

submissionscomments
CuriousThinker··on Show HN: C++ runtime/compile-time detection in constexpr functions
Thanks!
CuriousThinker··on Show HN: C++ runtime/compile-time detection in constexpr functions
Yes that's exactly what's happening under the hood. I'm definitely looking forward to the constexpr operator being accepted!
CuriousThinker··on Show HN: C++ runtime/compile-time detection in constexpr functions
That is basically it :)
CuriousThinker··on Show HN: C++ runtime/compile-time detection in constexpr functions
Thanks for catching that!
CuriousThinker··on Show HN: C++ runtime/compile-time detection in constexpr functions
I discuss the approach more in depth here:

http://saadahmad.ca/detecting-evaluation-context-inside-cons...