Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-07-19 19:36:48


Giovanni Bajo wrote:
> Another question, this compiles:
>
> typedef copy
> <
> list_c<int, 123>,
> list_c<int>,
> project1st<_,_>
> >::type result;
>
> but this does not:
>
> typedef copy
> <
> list_c<int>,
> list_c<int>,
> project1st<_,_>
> >::type result;

Ouch!

>
> I assume that all the algorithms should work on empty
> sequences, shouldn't they?

They should. I'll look into it.

As an aside note, a wittier way to do "project1st" is to write this: "_" :)
(or "_1")

Thanks for the report,
Aleksey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk