Dynamic arrays; not fully tested yet. Tail array optimization is not implemented yet.

This commit is contained in:
Pavel Kirienko
2014-02-23 16:53:27 +04:00
parent 77d3cb3518
commit 0c7d51b9ec
7 changed files with 327 additions and 170 deletions
@@ -24,6 +24,7 @@ class IntegerSpec
public:
enum { BitLen = BitLen_ };
enum { MinBitLen = BitLen };
typedef typename StaticIf<(BitLen <= 8), typename StaticIf<IsSigned, int8_t, uint8_t>::Result,
typename StaticIf<(BitLen <= 16), typename StaticIf<IsSigned, int16_t, uint16_t>::Result,