
1 Mar
2005
1 Mar
'05
10:23 p.m.
On 03/01/2005 03:00 PM, Larry Evans wrote: [snip]
I was unclear. The error message was about next:
fold_sequence_test.cpp(98): error: "next" is ambiguous typedef next<iter0>::type iter1; ^ See the http://boost-sandbox.sourceforge.net/vault/ in cppljevans/mpl/fold_sequence.zip. The compiler error messages included in this zip only include the 1st error message.
The 1st error message in fold_sequence.zip, dealing with begin, was avoided by defining my_inherit2 with a nested type. typedef my_inherit2 type; However, the ambiguous error, concerning next, is still around, as shown by fold_sequence_test1.zip in the vault.