X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftype.h;h=17545bae23ef0922669583344097a65c3e3e04cd;hb=2f73f948cd2f4bb0bdcc0f5f81816fb169819879;hp=58766289bc172a0e214917c961452976fac5645e;hpb=9867e5fdf99d7d6c9d83846c11a1cee6a9919be1;p=libs%2Fdatafile.git diff --git a/source/type.h b/source/type.h index 5876628..17545ba 100644 --- a/source/type.h +++ b/source/type.h @@ -12,7 +12,7 @@ struct Symbol std::string name; template - Symbol(const T &n): name(lexical_cast(n)) { } + Symbol(const T &n): name(lexical_cast(n)) { } template operator T() const { return lexical_cast(name); } }; @@ -123,6 +123,12 @@ struct TypeInfo: BoolType { }; template<> struct TypeInfo: StringType { }; +template<> +struct TypeInfo: StringType { }; + +template<> +struct TypeInfo: StringType { }; + template struct TypeInfo: TypeInfo { };