mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-15 11:36:00 -05:00
![]() 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> |
||
---|---|---|
.. | ||
descriptor.cpp | ||
descriptor.h | ||
interpreter.cpp | ||
interpreter.h | ||
keyorigin.h | ||
miniscript.cpp | ||
miniscript.h | ||
script.cpp | ||
script.h | ||
script_error.cpp | ||
script_error.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
signingprovider.cpp | ||
signingprovider.h | ||
solver.cpp | ||
solver.h |