docs(feature-flags): document feature flags framework#345
Merged
Conversation
Add comprehensive documentation for the feature flags framework including: - Feature detection system architecture (compile-time vs runtime) - Core definitions with preprocessor helpers and compiler/platform detection - C++20/23 standard library feature detection (15+ features) - Runtime feature flags integration with configuration system - Cross-system dependency management (7 systems) - Usage examples for compile-time and runtime flags - CMake integration guide - Migration guide from legacy macros - Troubleshooting guide Closes #327
6 tasks
kcenon
added a commit
that referenced
this pull request
Apr 13, 2026
Add comprehensive documentation for the feature flags framework including: - Feature detection system architecture (compile-time vs runtime) - Core definitions with preprocessor helpers and compiler/platform detection - C++20/23 standard library feature detection (15+ features) - Runtime feature flags integration with configuration system - Cross-system dependency management (7 systems) - Usage examples for compile-time and runtime flags - CMake integration guide - Migration guide from legacy macros - Troubleshooting guide Closes #327
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.
Closes #327
Summary
Add comprehensive documentation for the feature flags framework (
docs/FEATURE_FLAGS_GUIDE.md) covering all 4 header files:Documentation Contents
1. Feature Flags System Overview
2. Core Definitions (feature_flags_core.h)
KCENON_HAS_INCLUDE,KCENON_HAS_CPP_ATTRIBUTE,KCENON_HAS_FEATURE,KCENON_HAS_BUILTIN3. Feature Detection (feature_detection.h)
4. Runtime Feature Flags (feature_flags.h)
5. System Dependencies (feature_system_deps.h)
6. Usage Examples
7. CMake Integration
8. Migration Guide
9. Troubleshooting
Test Plan
Related Files
include/kcenon/common/config/feature_flags_core.hinclude/kcenon/common/config/feature_detection.hinclude/kcenon/common/config/feature_flags.hinclude/kcenon/common/config/feature_system_deps.h