Re: [proto] invalid use of incomplete type 'detail::uncvref...'

2011-02-28 Thread Hossein Haeri
Hi Eric, boost/proto/matches.hpp:391:13: error: invalid use of incomplete type 'struct boost::proto::detail::uncvrefarity_caller::CanBeCalledPlus2, mpl_::integral_cint, 2 ::type' Now look at how you've defined CanBeCalled: templatetypename Fun, typename Int struct CanBeCalled;

Re: [proto] invalid use of incomplete type 'detail::uncvref...'

2011-02-28 Thread Eric Niebler
On 3/1/2011 3:15 AM, Hossein Haeri wrote: Hi Eric, boost/proto/matches.hpp:391:13: error: invalid use of incomplete type 'struct boost::proto::detail::uncvrefarity_caller::CanBeCalledPlus2, mpl_::integral_cint, 2 ::type' Now look at how you've defined CanBeCalled: templatetypename