rx-ranges icon indicating copy to clipboard operation
rx-ranges copied to clipboard

Test constexpr compatibility for all combinators

Open simonask opened this issue 5 years ago • 0 comments

Currently, many things are marked constexpr that may or may not actually be usable in constexpr contexts due to the use of assertions. Whether assert() is usable in a constexpr context seems compiler-dependent.

Here is a solution for implementing assertions in constexpr contexts: https://akrzemi1.wordpress.com/2017/05/18/asserts-in-constexpr-functions/

simonask avatar Nov 26 '19 08:11 simonask