MiniEngine/SDLWrapper/__Optional.h

13 lines
320 B
C++
Raw Normal View History

#pragma once
#include <experimental/optional>
2017-07-31 00:18:10 +08:00
namespace MiniEngine
{
template<typename T>
using Optional = std::experimental::optional<T>;
using BadOptionalAccess = std::experimental::bad_optional_access;
constexpr std::experimental::nullopt_t NullOpt = std::experimental::nullopt;
2017-07-31 00:18:10 +08:00
} /// End of namespace MiniEngine