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: Reuse integral_constant and enable_if in <functional>


On 25 January 2010 21:46, Daniel Frey wrote:
> While reading through <functional>, I wondered why is_bind_expression and is_placeholder do not use integral_constant. Also, I wondered why __gnu_cxx::__enable_if was used instead of enable_if. The attached patch reflects these changes. In case the latter (enable_if) is accepted, it may also be possible to remove the include for ext/type_traits.h, right? Or is there any other reason why it's there?

That header was only recently split from tr1/functional, so it didn't
rely on integral_constant or enable_if, which were not defined when it
was included in TR1 mode.  Now that we have a separate file for the
C++0x version  it should be changed.  Thanks for taking care of it.


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