Added value_t type to optional.
This commit is contained in:
parent
2af1b5edd5
commit
d52cc6af6e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user