JoeStrout/miniscript

Is C++20 required in 1.6.2?

Closed this issue · 1 comments

toge commented

I'm updating miniscript's Conan recipe.

I found miniscript/1.6.2 requires C++14.
https://github.com/JoeStrout/miniscript/blob/master/CMakeLists.txt#L105-L107

But I found also some sources use C++20 features.
https://github.com/JoeStrout/miniscript/blob/master/MiniScript-cpp/src/MiniScript/MiniscriptTypes.cpp#L18

Is C++20 required in 1.6.2?

That requirement is not intended. If you want to try tweaking it to work with C++14, a PR will be gratefully appreciated. Or if that proves too difficult, then we'll upgrade the requirement — but let's discuss that here first.