Boost logo

Boost :

Subject: [boost] [graph] 'short' in bundled property throws boost::bad_any_cast
From: remi.chateauneu_at_[hidden]
Date: 2008-11-29 12:20:18


Hi,

I have a graph with a bundled property whose one of the members is a
'short'. When calling read_graphml, it throws an exception:

terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_any_cast>
>'
  what(): boost::bad_any_cast: failed conversion using boost::any_cast

Same problem with 'unsigned short'. With 'int' and 'long', it works.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk