Index: boost/program_options/detail/value_semantic.hpp =================================================================== --- boost/program_options/detail/value_semantic.hpp (Revision 57541) +++ boost/program_options/detail/value_semantic.hpp (Arbeitskopie) @@ -33,7 +33,7 @@ void typed_value::notify(const boost::any& value_store) const { - const T* value = boost::any_cast(&value_store); + const T* value = &(boost::any_cast(value_store)); if (m_store_to) { *m_store_to = *value; }