Skip to content

Zserio Optional doesn't have all versions of constructors / assignment operators #85

@Mi-La

Description

@Mi-La

zserio::BasicOptional doesn't provide at least conversion move constructor and conversion move assignment operator:

template <typename A, typename U>
zserio::BasicOptional& BasicOptional(BasicOptional<A, U>&& other); // missing

template <typename A, typename U>
zserio::BasicOptional& operator=(BasicOptional<A, U>&& other); // missing

Consider if it's worth to implement those and check what else is deviating from std::optional and consider to implement it.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions