Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-01-10 11:53:07


I'm having an assertion failure at visition_impl.hpp:201
But the assertion doesnt state what could be wrong, there's only a
comment saying: // should never be here at runtime:

Here is the function that is being called, that shouldnt...

template <
      typename W, typename S
    , typename Visitor, typename VPCV
    , typename NBF
    BOOST_VARIANT_AUX_GENERIC_RESULT_TYPE(typename Visitor::result_type)
      int, int, Visitor&, VPCV
    , mpl::true_ // is_apply_visitor_unrolled
    , NBF, W* = 0, S* = 0
    // should never be here at runtime:
    typedef typename Visitor::result_type result_type;
    return ::boost::detail::variant::forced_return< result_type >();

Could anyone help me?
Thanks in advance,

Felipe Magno de Almeida

Boost list run by bdawes at, gregod at, cpdaniel at, john at