Pieter Wuille 63317103c9 miniscript: make operator_mst consteval
It seems modern compilers don't realize that all invocations of operator""_mst
can be evaluated at compile time, despite the constexpr keyword.

Since C++20, we can force them to evaluate at compile time, turning all the
miniscript type constants into actual compile-time constants.

It appears that MSVC does not support consteval operator"" when used inside
certain expressions. For the few places where this happens, define a
constant outside the operator call.

Co-Authored-By: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
2024-05-03 11:38:14 -04:00
..
2023-11-14 17:41:54 +01:00
2023-12-06 15:44:38 +01:00
2023-11-21 13:15:44 +00:00
2024-01-09 15:15:36 -03:00
2024-03-18 10:32:00 -04:00
2023-11-30 11:28:19 +01:00
2023-11-07 10:21:51 +09:00
2023-11-21 13:15:44 +00:00
2024-02-29 14:13:58 -03:00
2023-11-30 11:28:19 +01:00
2023-12-07 11:06:16 +01:00
2023-11-30 11:27:54 +01:00
2024-04-10 17:01:27 +02:00
2023-11-30 11:28:19 +01:00
2023-11-30 11:28:19 +01:00
2023-11-30 11:28:19 +01:00