//Purpose: // Test whether variant can handle bounded types where one bounded type // is copy constructible from another. //References: // [1] // http://article.gmane.org/gmane.comp.lib.boost.user/59167 // [2] // http://article.gmane.org/gmane.comp.lib.boost.user/64467 //Result: // Yes, it can. Apparently changes were made to variant after // Reference[1] post was made. // #include #include int main(void) { boost::variant value; std::cout<<"default:which="<