You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make as many functions as possible in the interface of optionalconstexpr. It is not possible to be as constexpr as std::opitonal, because the latter is C++17, where constexpr is mor powerful, whereas boost::optional needs to be C++11-compatible.
This requires changing the implementation of optional storage to a union-based.
The text was updated successfully, but these errors were encountered:
Make as many functions as possible in the interface of
optional
constexpr
. It is not possible to be asconstexpr
asstd::opitonal
, because the latter is C++17, whereconstexpr
is mor powerful, whereasboost::optional
needs to be C++11-compatible.This requires changing the implementation of optional storage to a
union
-based.The text was updated successfully, but these errors were encountered: