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: C++ PATCH: PR 20599 (1/3)


On Mon, 2006-09-25 at 15:35 +0200, Gabriel Dos Reis wrote:
> Howard Hinnant <hhinnant@apple.com> writes:

> No.  The *library author* defines the macros that guard its uses of
> the specific GCC extensions.  He/she does not need to provide two
> separate implementations.  

So if you use N libraries that use a feature, you end up doing:

--std=C++-0X -DMOVE_SEMANTICS_1 -DMOVE_SEMANTICS_2 -DMOVE_SEMANTICS3

Would you argue that it is not better to systematically have one define
done directly in the compiler, which will at least synchronize all
libraries ???



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