variant v="3.14"; // 外部から持ってきたテキストの情報
int n=v; // 3
double d=v; // 3.14
string s=v; // "3.14"
bool b=v; // trueか例外
的な使い方できるVariant型ってないんですか?