Wednesday, 18 September 2013

Boost Fusion compile error in VS 2013 RC

Boost Fusion compile error in VS 2013 RC

Hello I got the latest Boost from trunk which builds with VS 2013 RC.
Built boost, it worked.
But when compiling my project against Boost, where I make use of Boost
Fusion. I'm getting 100's of these error messages--
Error 1086 error C3520: 'T' : parameter pack must be expanded in this context
It refers to this code in make_vector10.hpp
namespace result_of
{
template <typename T0 , typename T1 , typename T2>
struct make_vector<T0 , T1 , T2>
{
typedef vector3<typename detail::as_fusion_element<T0>::type ,
typename detail::as_fusion_element<T1>::type , typename
detail::as_fusion_element<T2>::type> type;
};
}
But there is no template parameter "T" used anywhere here.
This is also not a variadic template so I don't understand why it refers
to parameter packs in the error message. "vector3" and "as_fusion_element"
are also not variadic.
All variations of make_vector are giving me the same error btw(also
make_set).
Anyone know what is going on here? Thanks

No comments:

Post a Comment