$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [boost::any] struct tm with boost::any
From: Pascal Kesseli (pascal_kesseli_at_[hidden])
Date: 2009-12-04 15:30:54
Hi everyone
These two lines of code:
any a = tm();
tm t = any_cast<tm>(a);
result in a bad_any_cast exception:
boost::bad_any_cast: failed conversion using boost::any_cast
Is that a bug or what am I missing here? I am using MinGW version 4.4.0 and
boost 1.40.0.
Thanks for a quick reply and best regards Pascal