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;

[proto] Compiles under Boost 1.42 but not under 1.44

2011-02-17 Thread Hossein Haeri
Dear all, I have a piece of code that compiles under the Proto of Boost 1.42 but doesn't compile under that of Boost 1.44! Here is the error message that I get under GCC 4.5.1 (MinGW32, WinXP, SP3): main.cpp: In function 'int main()': main.cpp:73:3: error: no match for 'operator' in