$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Oberhoff (daniel_at_[hidden])
Date: 2008-03-17 16:05:58
Hi,
I am playing with boost::variant to introduce a more elegant property
system into my current project. I was wondering why there are no cast
operatorst defined for the variant types, to avoid having to type get<>:
boost::variant<double,int,string> v;
string s = v;
is there a basic reason why this is not possible?
Best
Daniel