[PATCH] For SGI stl_algo.h extensions (was: Re: [RFC] Moving apart SGI extensions)

Paolo Carlini pcarlini@unitus.it
Thu Dec 27 03:35:00 GMT 2001


Gabriel Dos Reis wrote:

> Why not just call it algorithm.h, or algorithm?  After all, it is in
> the separate directory.

Right: algorithm is ok. #include <ext/algorithm> is nice! I'm correcting this.
For the include guard I propose _EXT_ALGORITHM, however. What do you think?

> Apart from that, the patch looks OK for me although I don't know
> whether he copyright notice is correct or not.

Hummm.
To be safe, most probably we should add both HP and SGI copyrights too, as currently
happens at the beginning stl_algo.h.
Like:

/*
 *
 * Copyright (c) 1994
 * Hewlett-Packard Company
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and
 * that both that copyright notice and this permission notice appear
 * in supporting documentation.  Hewlett-Packard Company makes no
 * representations about the suitability of this software for any
 * purpose.  It is provided "as is" without express or implied warranty.
 *
 *
 * Copyright (c) 1996
 * Silicon Graphics Computer Systems, Inc.
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and
 * that both that copyright notice and this permission notice appear
 * in supporting documentation.  Silicon Graphics makes no
 * representations about the suitability of this software for any
 * purpose.  It is provided "as is" without express or implied warranty.
 */

Ok with this change, or perhaps it is better to wait for Benjamin's point of view on
those legal matters?

Cheers,
Paolo.




More information about the Libstdc++ mailing list