Skip to content

Get rid of partial initialization in favor of factory pattern - #12

Merged
sapdragon merged 3 commits into
sapdragon:mainfrom
xnxkzeu:main
Sep 5, 2026
Merged

Get rid of partial initialization in favor of factory pattern#12
sapdragon merged 3 commits into
sapdragon:mainfrom
xnxkzeu:main

Conversation

@xnxkzeu

@xnxkzeu xnxkzeu commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Implemented factory pattern instead of splitting initialization in constructor and "initialize" method
Replaced getCurrentProcess constexpr with static since reinterpret_cast is not allowed in constexpr functions
Updated move-constructor to remove unnecessary default-constructing + move-assignment
Updated examples accordingly

xnxkzeu and others added 3 commits September 2, 2026 17:21
…nstructor and "initialize" method

Replaced getCurrentProcess constexpr with static since reinterpret_cast is not allowed in constexpr functions
Updated move-constructor to remove unnecessary default-constructing + move-assignment
Updated examples accordingly
@sapdragon

Copy link
Copy Markdown
Owner

thx

@sapdragon
sapdragon merged commit 0b67e51 into sapdragon:main Sep 5, 2026
6 checks passed
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.

2 participants