nowfound

Life & fun · August 8, 2017

C++ runtime/compile-time detection in constexpr

An approach for runtime detection inside a constexpr function

Launched as “C++ runtime/compile-time detection in constexpr functions”

C++ runtime/compile-time detection in constexpr launched on August 8, 2017 with 83 votes, #502 of 2,821 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 9 years on.

Visit github.com ↗Alternativestop 18% of August 2017

In plain words

This is a C++ library that enables detection of whether code is executing at runtime or compile-time within constexpr functions. It allows developers to write functions that behave differently depending on the execution context. The tool is useful for C++ programmers who need to optimize performance or handle compile-time and runtime scenarios with a single function implementation.

written by AI from its launch page and website · 17 September 2026

Originality

86/100

Original. More original than 86% of products launched in 2017.

Similar products before it
None
in the archive on its launch day
Similar products since
3
launched after it
See similar products ↓

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

93%

chance that this product’s website is still online in November 2031. Typical launch of 2017 gets 80%.

1 year
99%
typical 96%
3 years
96%
typical 88%
5 years
93%
typical 80%
  • C++ runtime/compile-time detection in constexpr
  • Typical launch of 2017

Launch signals stronger than 99% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

An approach for runtime detection inside a constexpr function - SaadAhmad/in_constexpr

Pricing, as stated on its site

Free — Free and open source

checked November 2026 · prices change

  • Compile-time HTML parsing in C++142017 · github.com · ▲175

    A C++ HTML template engine that uses compile time HTML parsing

  • CA
    Computation at Compile-Time now free online2017 · billsix.github.io · ▲57

    Computation at Compile-Time is a free online book exploring compiler design from an unconventional angle.

  • Cronexpr2024 · docs.rs · ▲160

    `cronexpr` is a library to parse and drive the crontab expression.

  • LazyCode2018 · github.com · ▲66

    C++14: bringing in those expressions that you wish you had, Lazily evaluated, compossible generators, maps, filters, ranges and more... - GitHub - SaadAttieh/lazyCode: C++14: bringing in those expressions that you wish you had, Lazily evaluated, compossible generators, maps, filters, ranges and more

  • CXXStateTree2025 · github.com · ▲48

    CXXStateTree is a header-only C++ library for building hierarchical state machines with clean APIs.

  • LambdaLisp2022 · woodrush.github.io · ▲189

    A Lisp interpreter written as an untyped lambda calculus term

More life & fun this month

the category →

Is C++ runtime/compile-time detection in constexpr yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗

Launched alongside, August 2017

the whole month →