#ifndef LIBCUBESCRIPT_CUBESCRIPT_CONF_HH #define LIBCUBESCRIPT_CUBESCRIPT_CONF_HH #include #include #include #include #include #include namespace cscript { template using CsAllocator = ostd::Allocator; using CsInt = int; using CsFloat = float; using CsString = ostd::StringBase>; template using CsMap = ostd::Map< K, V, ostd::ToHash, ostd::EqualWithCstr, CsAllocator> >; template using CsVector = ostd::Vector>; constexpr CsInt const CsIntMin = INT_MIN; constexpr CsInt const CsIntMax = INT_MAX; constexpr auto const IntFormat = "%d"; constexpr auto const FloatFormat = "%.7g"; constexpr auto const RoundFloatFormat = "%.1f"; } /* namespace cscript */ #endif /* LIBCUBESCRIPT_CUBESCRIPT_CONF_HH */