Boost logo

Boost :

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


Hi!

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
>
inline
    BOOST_VARIANT_AUX_GENERIC_RESULT_TYPE(typename Visitor::result_type)
visitation_impl(
      int, int, Visitor&, VPCV
    , mpl::true_ // is_apply_visitor_unrolled
    , NBF, W* = 0, S* = 0
    )
{
    // should never be here at runtime:
    BOOST_ASSERT(false);
    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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk