2019-02-13 19:10:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <iostream>
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
#include <atomic>
|
2019-03-31 18:50:12 +00:00
|
|
|
#include <cstring>
|
2020-02-12 04:15:10 +00:00
|
|
|
#include <algorithm>
|
2019-02-13 19:10:36 +00:00
|
|
|
|
|
|
|
#include "UTF8Util.h"
|
|
|
|
|
|
|
|
using std::shared_ptr;
|
2019-03-10 21:39:14 +00:00
|
|
|
using std::unique_ptr;
|
2019-02-13 19:10:36 +00:00
|
|
|
using utf8::ifstream;
|
|
|
|
using utf8::ofstream;
|
2019-03-12 13:15:57 +00:00
|
|
|
using std::ostream;
|
|
|
|
using std::istream;
|
2019-02-13 19:10:36 +00:00
|
|
|
using std::string;
|
|
|
|
using std::vector;
|
|
|
|
using std::atomic;
|
2020-02-29 20:58:11 +00:00
|
|
|
using std::atomic_flag;
|
|
|
|
|
|
|
|
#ifndef __MINGW32__
|
|
|
|
#ifdef __clang__
|
|
|
|
#define __forceinline __attribute__((always_inline)) inline
|
|
|
|
#else
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#define __forceinline __attribute__((always_inline)) inline
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|