This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: TR1 and standard headers
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: Matt Austern <austern at apple dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 10 Oct 2004 01:06:13 -0500
- Subject: Re: TR1 and standard headers
- Organization: Texas A&M University, Department of Computer Science
- References: <A2AFE87E-1A6E-11D9-9B15-000A95BCF344@apple.com>
Matt Austern <austern@apple.com> writes:
| My apologies if Benjamin or someone else has already answered this,
| but...
|
| Have we decided on a policy yet for TR1 components that modify
| standard headers? TR1 defines extensions to <functional>, <utility>,
| and probably other headers that aren't coming to mind right now. (Not
| counting the C99 compatibility stuff, which affects all of the <c...>
| headers.)
|
| I think we've got two sensible choices: edit the standard headers and
| control the extensions with a macro, or put shadow headers in
| include/tr1.
Given that TR1 is experimental by its very nature, I would think that
editing standard headers directly would be inappropriate.
-- Gaby