remove the CsAllocator stuff
parent
1412ff00a5
commit
cbafbe0fc2
|
@ -10,21 +10,15 @@
|
||||||
#include <ostd/stream.hh>
|
#include <ostd/stream.hh>
|
||||||
|
|
||||||
namespace cscript {
|
namespace cscript {
|
||||||
template<typename T>
|
|
||||||
using CsAllocator = ostd::Allocator<T>;
|
|
||||||
|
|
||||||
using CsInt = int;
|
using CsInt = int;
|
||||||
using CsFloat = float;
|
using CsFloat = float;
|
||||||
using CsString = ostd::StringBase<char, CsAllocator<char>>;
|
using CsString = ostd::String;
|
||||||
|
|
||||||
template<typename K, typename V>
|
template<typename K, typename V>
|
||||||
using CsMap = ostd::Map<
|
using CsMap = ostd::Map<K, V>;
|
||||||
K, V, ostd::ToHash<K>, ostd::EqualWithCstr<K>,
|
|
||||||
CsAllocator<ostd::Pair<K const, V const>>
|
|
||||||
>;
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
using CsVector = ostd::Vector<T, CsAllocator<T>>;
|
using CsVector = ostd::Vector<T>;
|
||||||
|
|
||||||
using CsStream = ostd::Stream;
|
using CsStream = ostd::Stream;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue