2020-11-29 13:03:50 +01:00
|
|
|
#pragma once // No BOM and only basic ASCII in this header, or a neko will die
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2014-04-15 16:12:15 +02:00
|
|
|
#ifdef MSVC_CRT_MEMLEAK_DETECTION
|
|
|
|
|
#define _CRTDBG_MAP_ALLOC
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <crtdbg.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-05-02 08:30:32 +02:00
|
|
|
#define NOMINMAX
|
2015-12-02 10:23:25 +01:00
|
|
|
|
2014-07-10 22:54:12 +02:00
|
|
|
#if defined(MSVC_CRT_MEMLEAK_DETECTION) && defined(_DEBUG) && !defined(DBG_NEW)
|
|
|
|
|
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
|
2014-09-07 09:49:25 +02:00
|
|
|
#include "define_new_memleakdetect.h"
|
2014-07-10 22:54:12 +02:00
|
|
|
#endif
|
2014-04-15 16:12:15 +02:00
|
|
|
|
2020-12-12 13:01:29 +01:00
|
|
|
#include "util/types.hpp"
|
2015-06-21 16:48:21 +02:00
|
|
|
#include "Utilities/BEType.h"
|
2019-07-27 00:34:10 +02:00
|
|
|
#include "util/atomic.hpp"
|
2015-06-21 16:48:21 +02:00
|
|
|
#include "Utilities/StrFmt.h"
|
2015-12-22 20:24:35 +01:00
|
|
|
#include "Utilities/File.h"
|
2020-03-07 10:29:23 +01:00
|
|
|
#include "util/logs.hpp"
|
2020-11-27 08:00:52 +01:00
|
|
|
#include "util/shared_ptr.hpp"
|
2016-08-14 02:22:19 +02:00
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <climits>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <memory>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <array>
|
|
|
|
|
#include <functional>
|
|
|
|
|
#include <unordered_map>
|
2018-02-03 20:50:48 +01:00
|
|
|
#include <algorithm>
|
2018-09-11 18:02:19 +02:00
|
|
|
#include <string_view>
|