X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftype.h;h=f40657eb14a07003a295cb979ae4813523183d17;hb=b39ce68f12c30eedb272b65fe78baec5864d89ca;hp=85cfec40f2afc9aa79f38d646baf64dea473cd0a;hpb=bdd957e58dc6fdaa3cac1202daf0d16d41491278;p=libs%2Fdatafile.git diff --git a/source/type.h b/source/type.h index 85cfec4..f40657e 100644 --- a/source/type.h +++ b/source/type.h @@ -11,8 +11,10 @@ struct Symbol { std::string name; + Symbol() { } + 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); } };