Re:Show HN: C++ runtime/compile-time detection in constexpr ...
by VHRanger on Tuesday August 08, 2017 @09:42PM
(#14964833)
I don't think it's any secret D does CTFE better than any other language.
Re:Show HN: C++ runtime/compile-time detection in constexpr ...
by nicwilson on Wednesday August 09, 2017 @04:52AM
(#14966711)
Yeah it never ceases to amaze me the lengths that C++ users goto to try to do things at compile time.
Re:Show HN: C++ runtime/compile-time detection in constexpr ...
by logicchains on Wednesday August 09, 2017 @12:17AM
(#14965506)
Better than Common Lisp?
Re:Show HN: C++ runtime/compile-time detection in constexpr ...
by zerr on Wednesday August 09, 2017 @01:49AM
(#14965873)
Does better AND doesn't require the language to be AST :)
* `if ( __ctfe) { ... }` for compile time
* `if (!__ctfe) { ... }` for runtime