X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftype.h;h=f40657eb14a07003a295cb979ae4813523183d17;hb=4edbe0eb078c4e480682862ccb68ebc8cb284045;hp=17545bae23ef0922669583344097a65c3e3e04cd;hpb=cac0716e8c12088ba833cb28809f5a7b8430a68d;p=libs%2Fdatafile.git diff --git a/source/type.h b/source/type.h index 17545ba..f40657e 100644 --- a/source/type.h +++ b/source/type.h @@ -11,6 +11,8 @@ struct Symbol { std::string name; + Symbol() { } + template Symbol(const T &n): name(lexical_cast(n)) { }