16 lines
387 B
C++
16 lines
387 B
C++
#ifndef WRAP_STRING_HPP
|
|
#define WRAP_STRING_HPP
|
|
|
|
#include "eng-malloc.hpp"
|
|
#include <string>
|
|
|
|
namespace eng {
|
|
template<class C, class T=std::char_traits<C>>
|
|
using basic_string = std::basic_string<C, T, eng::allocator<C>>;
|
|
using string = basic_string<char>;
|
|
using u32string = basic_string<char32_t>;
|
|
using u16string = basic_string<char16_t>;
|
|
} // namespace eng
|
|
|
|
#endif // WRAP_STRING_HPP
|