conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
7.96k stars 952 forks source link

Feature/forced cppstd #16456

Open memsharded opened 3 weeks ago

memsharded commented 3 weeks ago

Changelog: Feature: Allow access to cppstd helpers like valid_min_cppstd inside package_id(). Docs: https://github.com/conan-io/docs/pull/XXXX

Close https://github.com/conan-io/conan/issues/16147

memsharded commented 3 weeks ago

I am moving this forward because the Settings class got some protection against writing, which was the major concern if the package_id() method accidentally changed self.settings instead of changing self.info.settings. As this cannot happen now, this should be quite low risk.