MakeString<> helper template

This commit is contained in:
Pavel Kirienko
2015-05-18 22:29:09 +03:00
parent 65c5d6efa8
commit 5e458e918d
4 changed files with 16 additions and 5 deletions
@@ -37,7 +37,7 @@ public:
* This type is used to exchange data chunks with the backend.
* It doesn't use any dynamic memory; please refer to the Array<> class for details.
*/
typedef Array<IntegerSpec<8, SignednessUnsigned, CastModeTruncate>, ArrayModeDynamic, MaxStringLength> String;
typedef MakeString<MaxStringLength>::Type String;
/**
* Read one value from the storage.