|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-10-14 09:57:05
Alexandre Karev wrote:
> An answer for a first one is - to avoid to be dependent on the
> include file order.
That's preciselly a non-answer.
> For example. If the order in Your tests will be
>
> #include <algorithm>
> #include <functional>
> #include <iostream>
> #include <vector>
>
> everything goes fine (this order from compose1.cpp, BTW).
>
> But You have:
>
> #include <iostream>
> #include <vector>
> #include <algorithm>
> #include <functional>
>
> In this case somewhere in depth I got ptrdiff_t undefined.
That is the proof that one of these headers is broken.
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk