From: myun2 Date: Mon, 11 Jun 2012 04:11:51 +0000 (+0900) Subject: fixed.hpp X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4816c7838e11987a38ab6d3c27aaced708a986e6;p=roast%2Froast.git fixed.hpp --- diff --git a/roast/include/roast/lexical2/fixed.hpp b/roast/include/roast/lexical2/fixed.hpp index 02324cf8..b707f74a 100644 --- a/roast/include/roast/lexical2/fixed.hpp +++ b/roast/include/roast/lexical2/fixed.hpp @@ -14,12 +14,10 @@ namespace roast { //////////////////////////////////////////////////////////////////// - template - class fixed : public lengthable + template + class fixed : public length_ { public: - static const int length = sizeof(T); - template bool analyze(_It& it, _Param& param) { @@ -53,31 +51,6 @@ namespace roast }*/ }; - ///////////////////////////////////////////////////////////// - - template - class unibyte : public fixed_numeric {}; - - template - class fixed_char : public fixed_numeric {}; - template - class fixed_short : public fixed_numeric {}; - template - class fixed_int : public fixed_numeric {}; - template - class fixed_long : public fixed_numeric {}; - - template - class fixed_uchar : public fixed_numeric {}; - template - class fixed_ushort : public fixed_numeric {}; - template - class fixed_uint : public fixed_numeric {}; - template - class fixed_ulong : public fixed_numeric {}; - - typedef unibyte<0> zeroterm; - //////////////////////////////////////////////////////////////////// } }