Function Dune::XT::Common::numeric_cast

template<class T, class S>
T Dune::XT::Common::numeric_cast(S source)

Calls boost::numeric_cast and gives some information on failure.