
16 May
2010
16 May
'10
9:17 p.m.
Compilation of attachment 1 with gcc-4.5, produces errors in attachment 2. When the >'#if 1' on line 24 is changed to '#if 0', it compiles OK.
What am I doing wrong?
TIA.
In the second "inner" instantiation of seq_size (ie the one taking in an empty sequence), what return type /could/ pop_front have? So intuitively a compile error is what I would expect here - and I think a literal reading of the documentation agrees because an empty sequence does not satisfy the fusion Sequence concept.