Skip to content

docs: add shared_ptr no-op deleter pattern documentation#203

Merged
kcenon merged 1 commit into
mainfrom
feature/singleton-shared-ptr-pattern
Dec 15, 2025
Merged

docs: add shared_ptr no-op deleter pattern documentation#203
kcenon merged 1 commit into
mainfrom
feature/singleton-shared-ptr-pattern

Conversation

@kcenon

@kcenon kcenon commented Dec 15, 2025

Copy link
Copy Markdown
Owner

Summary

Changes

English Documentation (SINGLETON_GUIDELINES.md)

  • Added new section "3. shared_ptr with No-op Deleter Pattern"
  • Included code examples and use cases
  • Added real-world example from GlobalLoggerRegistry
  • Updated summary table with new pattern
  • Updated version to 1.1.0

Korean Documentation (SINGLETON_GUIDELINES_KO.md)

  • Added corresponding Korean translation
  • Updated summary table and version history

Acceptance Criteria Status (Issue #202)

Test Plan

  • Verify markdown renders correctly
  • Verify code examples compile (based on existing GlobalLoggerRegistry implementation)
  • Verify both EN/KO versions are consistent

Closes #202

Add documentation for shared_ptr with No-op Deleter pattern to prevent
SDOF issues when shared_ptr semantics are required.

- Add pattern section with code examples
- Include real-world example from GlobalLoggerRegistry
- Document use cases and memory impact
- Update summary table with new pattern
- Update both English and Korean versions

Closes #202
@kcenon kcenon merged commit 6e238b7 into main Dec 15, 2025
19 checks passed
@kcenon kcenon deleted the feature/singleton-shared-ptr-pattern branch December 28, 2025 01:18
kcenon added a commit that referenced this pull request Apr 13, 2026
Add documentation for shared_ptr with No-op Deleter pattern to prevent
SDOF issues when shared_ptr semantics are required.

- Add pattern section with code examples
- Include real-world example from GlobalLoggerRegistry
- Document use cases and memory impact
- Update summary table with new pattern
- Update both English and Korean versions

Closes #202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: establish singleton and static object guidelines for SDOF prevention

1 participant