Add optional. Change IncludeAll Header.

This commit is contained in:
Kirigaya Kazuto 2017-06-23 11:50:44 +08:00
parent 0a141bb4a0
commit 4319ee521b
3 changed files with 27 additions and 7 deletions

View File

@ -1,11 +1,21 @@
#pragma once
#include "Rect.h"
#include "Point.h"
#include "Renderer.h"
#include "Texture.h"
#include "Surface.h"
#include "Window.h"
/// Sorted by alphabet sequence. Some files are ignored.
#include "ColorMode.h"
#include "Cursor.h"
#include "ErrorViewer.h"
#include "Font.h"
#include "Music.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 "SharedLibrary.h"
#include "Sound.h"
#include "Surface.h"
#include "Texture.h"
#include "Timer.h"
#include "Window.h"

10
SDLWrapper/__Optional.h Normal file
View 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"