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

Optional and Nullable Improvements #4502

Open
aleks-f opened this issue Mar 19, 2024 · 1 comment
Open

Optional and Nullable Improvements #4502

aleks-f opened this issue Mar 19, 2024 · 1 comment
Assignees

Comments

@aleks-f
Copy link
Member

aleks-f commented Mar 19, 2024

  • Optional in terms of std::optional
  • Nullable should be implemented in terms of std::unique_ptr<T>
  • NullType should be nullptr_t (or at least a static const)
  • tests
@aleks-f aleks-f added this to the Release 1.14.0 milestone Mar 19, 2024
@obiltschnig
Copy link
Member

One point of Poco::Nullable and Poco::Optional was to avoid heap allocations, so Poco::Nullable should be implemented with std::optional as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants