Forked from
ogs / ogs
Source project has a limited visibility.
-
Dmitri Naumov authored
Since boost-1.61 (and also not in the std::optional) optionals holding references do have some restrictions and are difficult to use. In this special case optional<PropertyVector&> is equivalent semantically to a PropertyVector*. The pointer indicates that it is not owning (contrary to usage of unique_ptr). Thanks to Christoph pointing this issue out.
Dmitri Naumov authoredSince boost-1.61 (and also not in the std::optional) optionals holding references do have some restrictions and are difficult to use. In this special case optional<PropertyVector&> is equivalent semantically to a PropertyVector*. The pointer indicates that it is not owning (contrary to usage of unique_ptr). Thanks to Christoph pointing this issue out.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.