mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
11 lines
307 B
C++
11 lines
307 B
C++
|
#pragma once
|
||
|
#include <experimental/optional>
|
||
|
#include "begin_code.h"
|
||
|
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;
|
||
|
#include "end_code.h"
|