输出测试,RenderableString基本完成
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
@@ -12,6 +14,12 @@ using wchar = wchar_t;
|
||||
using QWORD = unsigned long long int;
|
||||
using String = std::wstring;
|
||||
template<typename K, typename V, typename Cmp = std::less<K>, typename Alloc = std::allocator<std::pair<const K, V>>> using Map = std::map<K, V, Cmp, Alloc>;
|
||||
template<typename T, typename Alloc = std::allocator<T>> using List = std::list<T, Alloc>;
|
||||
template<typename F> using Function = std::function<F>;
|
||||
|
||||
#define Success() { return 0; }
|
||||
#define Failed() { return 1; }
|
||||
#define Error() { return -1; }
|
||||
|
||||
#if false
|
||||
#ifdef _MSC_VER
|
||||
@@ -23,8 +31,8 @@ template<typename K, typename V, typename Cmp = std::less<K>, typename Alloc = s
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if false
|
||||
#define _WINSOCKAPI_ /* 防止winsock.h被引入。winsock.h和winsock2.h冲突。 */
|
||||
#if false
|
||||
#include <WinSock2.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user