Added value_t type to optional.

This commit is contained in:
Patrick 2024-11-12 23:32:00 +01:00
parent 2af1b5edd5
commit d52cc6af6e

View File

@ -110,6 +110,8 @@ static constexpr NullOptional NULL_OPTIONAL;
template<typename TValue>
class Optional
{
public:
using value_t = TValue;
private:
impl::OptionalStorage<TValue> storage_ = {};
public: