Open aleks-f opened 3 months ago
Optional
std::optional
Nullable
std::unique_ptr<T>
NullType
nullptr_t
static const
One point of Poco::Nullable and Poco::Optional was to avoid heap allocations, so Poco::Nullable should be implemented with std::optional as well.
Optional
in terms ofstd::optional
Nullable
should be implemented in terms ofstd::unique_ptr<T>
NullType
should benullptr_t
(or at least astatic const
)