[RFC] libstdc++/6720 and libstdc++/6671

Zack Weinberg zack@codesourcery.com
Wed May 22 11:03:00 GMT 2002


On Wed, May 22, 2002 at 07:30:34PM +0200, Paolo Carlini wrote:
> >ext/algorithm includes <algorithm>
> >If this is changed to include "algorithm" will the preprocessor include
> >ext/algorithm from the current dir, or spot that that's the current file
> >and then proceed to look in the system dirs, finding the intended header?
> 
> Sorry, now I get your point, but this could easily be solved by including
> "../algorithm", do you agree?

Yes to both -- #include "algorithm" will find the same file again
(sometimes people genuinely want to do that) and
#include "../algorithm" will do what you want.

zw



More information about the Libstdc++ mailing list