feat(cmake): add C++20 concepts detection for common_system#278
Merged
Conversation
- Add check_common_concepts_support() function to ThreadSystemFeatures.cmake - Detect common_system concepts header availability - Verify compiler version requirements (GCC 10+, Clang 10+, MSVC 19.23+) - Define THREAD_HAS_COMMON_CONCEPTS macro when concepts are available - Display available concept categories during CMake configuration Closes #276
- Update CHANGELOG.md and CHANGELOG_KO.md with issue #276 changes - Add C++20 Concepts Support section to BUILD_GUIDE.md and BUILD_GUIDE_KO.md - Document compiler requirements for concepts support - List available concept categories when enabled - Add SET_COMMON_CONCEPTS cmake option documentation
Contributor
📊 Performance Benchmark ResultsPerformance Benchmark ReportNo benchmark data available. ℹ️ No baseline reference availableThis is the first benchmark run or baseline file is missing. |
kcenon
added a commit
that referenced
this pull request
Apr 13, 2026
* feat(cmake): add C++20 concepts detection for common_system - Add check_common_concepts_support() function to ThreadSystemFeatures.cmake - Detect common_system concepts header availability - Verify compiler version requirements (GCC 10+, Clang 10+, MSVC 19.23+) - Define THREAD_HAS_COMMON_CONCEPTS macro when concepts are available - Display available concept categories during CMake configuration Closes #276 * docs: add C++20 concepts support documentation - Update CHANGELOG.md and CHANGELOG_KO.md with issue #276 changes - Add C++20 Concepts Support section to BUILD_GUIDE.md and BUILD_GUIDE_KO.md - Document compiler requirements for concepts support - List available concept categories when enabled - Add SET_COMMON_CONCEPTS cmake option documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
check_common_concepts_support()function toThreadSystemFeatures.cmaketo detect C++20 concepts support fromcommon_systemTHREAD_HAS_COMMON_CONCEPTSmacro when concepts are availableChanges
CMake Configuration
check_common_concepts_support()function that:BUILD_WITH_COMMON_SYSTEMis enabledcommon_systemconcepts header in multiple pathsTHREAD_HAS_COMMON_CONCEPTS=1when all conditions are metDocumentation
Related Issues
Test Plan
THREAD_HAS_COMMON_CONCEPTSmacro is correctly defined