mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
Add optional. Change IncludeAll Header.
This commit is contained in:
parent
0a141bb4a0
commit
4319ee521b
|
@ -1,11 +1,21 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "Rect.h"
|
/// Sorted by alphabet sequence. Some files are ignored.
|
||||||
#include "Point.h"
|
#include "ColorMode.h"
|
||||||
#include "Renderer.h"
|
#include "Cursor.h"
|
||||||
#include "Texture.h"
|
#include "ErrorViewer.h"
|
||||||
#include "Surface.h"
|
|
||||||
#include "Window.h"
|
|
||||||
#include "Font.h"
|
#include "Font.h"
|
||||||
#include "Music.h"
|
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
|
#include "MessageBox.h"
|
||||||
|
#include "Music.h"
|
||||||
|
#include "Point.h"
|
||||||
|
#include "Rect.h"
|
||||||
|
#include "Renderer.h"
|
||||||
|
#include "RGBA.h"
|
||||||
|
#include "RWOP.h"
|
||||||
#include "SDLSystem.h"
|
#include "SDLSystem.h"
|
||||||
|
#include "SharedLibrary.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Surface.h"
|
||||||
|
#include "Texture.h"
|
||||||
|
#include "Timer.h"
|
||||||
|
#include "Window.h"
|
||||||
|
|
10
SDLWrapper/__Optional.h
Normal file
10
SDLWrapper/__Optional.h
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#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"
|
Loading…
Reference in New Issue
Block a user