Skip to content

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

Open
xnxkzeu wants to merge 2 commits into
sapdragon:mainfrom
xnxkzeu:main
Open

Get rid of partial initialization in favor of factory pattern#12
xnxkzeu wants to merge 2 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

…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
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.

1 participant