This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: TR library extensions


Pétur Runólfsson <peturr02@ru.is> writes:

| > What do people think about directory structure and naming conventions
| > and such?
| 
| I vote for include/tr1.
| 
| A -std= option is needed that adds include/tr1 to the include path,
| because the new tr1 headers should not be visible if -std=c++98 is
| given.

Why?

the TR1 resides in a separate namespace (excep for a very few).

| A preprocessor macro is needed for the same reason (as some
| proposals make changes to existing components). Maybe -std=tr1 and
| __TR1__ ?

__LIBCXX_TR1__?

We should be aware that we're not the only project.  We should make it
clear which symbols are ours (or C++'s), preferably in the spelling.

| The implementation will probably take a while to settle down. Should
| the additions be put in a separate library so that non-compatible
| changes can be made without breaking programs that only use C++98?

I don't understand this.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]