remove the CsAllocator stuff

master
Daniel Kolesa 2016-09-10 17:38:35 +02:00
parent 1412ff00a5
commit cbafbe0fc2
1 changed files with 3 additions and 9 deletions

View File

@ -10,21 +10,15 @@
#include <ostd/stream.hh>
namespace cscript {
template<typename T>
using CsAllocator = ostd::Allocator<T>;
using CsInt = int;
using CsFloat = float;
using CsString = ostd::StringBase<char, CsAllocator<char>>;
using CsString = ostd::String;
template<typename K, typename V>
using CsMap = ostd::Map<
K, V, ostd::ToHash<K>, ostd::EqualWithCstr<K>,
CsAllocator<ostd::Pair<K const, V const>>
>;
using CsMap = ostd::Map<K, V>;
template<typename T>
using CsVector = ostd::Vector<T, CsAllocator<T>>;
using CsVector = ostd::Vector<T>;
using CsStream = ostd::Stream;