We have a cppstd_flag function that gives you the flag based on your compiler, but some recipes might have a need (https://github.com/conan-io/conan-center-index/pull/24423/ for example) to get the flag for a different cppstd other than the one in compiler.cppstd.
We should think if having foobar(compiler, cppstd) is a valid use-case worth supporting
What is your suggestion?
We have a
cppstd_flag
function that gives you the flag based on your compiler, but some recipes might have a need (https://github.com/conan-io/conan-center-index/pull/24423/ for example) to get the flag for a different cppstd other than the one incompiler.cppstd
.We should think if having
foobar(compiler, cppstd)
is a valid use-case worth supportingHave you read the CONTRIBUTING guide?