Forked from
ogs / ogs
18384 commits behind the upstream repository.
-
Dmitry Yu. 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.
Dmitry Yu. 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.
Properties-impl.h 3.24 KiB