Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ContainerProxy and Opaque types. #92

Merged
merged 2 commits into from
Feb 22, 2025
Merged

Conversation

helly25
Copy link
Owner

@helly25 helly25 commented Feb 22, 2025

  • Added struct mbo::types::ContainerProxy which allows to add container access to other types including smart pointers of containers.
  • Added struct mbo::types::OpaquePtr an opaque alternative to std::unique_ptr which works with forward declared types.
  • Added struct mbo::types::OpaqueValue an OpaquePtr with direct access, comparison and hashing which will not allow a nullptr.
  • Added struct mbo::types::OpaqueContainer an OpaqueValue with direct container access.
  • Changed pre-commit to use clang-format 19.1.6.

…iner access to other types including smart pointers of containers.

* Added struct `mbo::types::OpaquePtr` an opaque alternative to `std::unique_ptr` which works with forward declared types.
* Added struct `mbo::types::OpaqueValue` an `OpaquePtr` with direct access, comparison and hashing which will not allow a nullptr.
* Added struct `mbo::types::OpaqueContainer` an `OpaqueValue` with direct container access.
* Changed pre-commit to use clang-format 19.1.6.
@helly25 helly25 requested a review from Fab-Cat February 22, 2025 17:27
@helly25 helly25 enabled auto-merge (squash) February 22, 2025 18:58
@helly25 helly25 merged commit 4a280ff into main Feb 22, 2025
5 checks passed
@helly25 helly25 deleted the feat/opaque_20250222 branch February 22, 2025 20:46
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