CsString is not configurable
parent
ed65356dbe
commit
0307085c30
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
namespace cscript {
|
namespace cscript {
|
||||||
|
|
||||||
|
using CsString = ostd::String;
|
||||||
|
|
||||||
static_assert(ostd::IsIntegral<CsInt>, "CsInt must be integral");
|
static_assert(ostd::IsIntegral<CsInt>, "CsInt must be integral");
|
||||||
static_assert(ostd::IsSigned<CsInt>, "CsInt must be signed");
|
static_assert(ostd::IsSigned<CsInt>, "CsInt must be signed");
|
||||||
static_assert(ostd::IsFloatingPoint<CsFloat>, "CsFloat must be floating point");
|
static_assert(ostd::IsFloatingPoint<CsFloat>, "CsFloat must be floating point");
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
namespace cscript {
|
namespace cscript {
|
||||||
using CsInt = int;
|
using CsInt = int;
|
||||||
using CsFloat = float;
|
using CsFloat = float;
|
||||||
using CsString = ostd::String;
|
|
||||||
|
|
||||||
constexpr auto const IntFormat = "%d";
|
constexpr auto const IntFormat = "%d";
|
||||||
constexpr auto const FloatFormat = "%.7g";
|
constexpr auto const FloatFormat = "%.7g";
|
||||||
|
|
Loading…
Reference in New Issue