I believe it's because you can't && an expression to be used within a static
assert.
How about the following:
========================
struct attempt_to_invoke_functor_with_incorrect_number_of_arguments
: mpl::int_<1>
{
};
template , attempt_to_invoke_functor_with_incorrect_number_of_arguments
));
}
========================
HTH
Pablo
"Stephen Gross" I'm trying to static assert the value of a sequence. I've got the syntax
slightly wrong, but I can't quite figure it out. Here's what my code looks
like: ==========================
template [snip] --Steve Stephen Gross
Case Western School of Medicine
Cleveland, OH "By Grabthar's hammer, by the sons of Worvan, you shall be avenged." - Dr.
Lazarus