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] |
2011/9/11 Paolo Carlini<paolo.carlini@oracle.com>:Excellent, I was missing the rationale for that.ehm, forgot the attachments ;)Thanks Paolo for the quick integration. Let me comment that I believe that the empty specialization for __or_,
template<> + struct __or_<> + : public std::true_type + { };
should be not be equal to true, but to false,
template<> + struct __or_<> + : public std::false_type + { };
based on the same rationale why any_of returns false and all_of returns true for the degenerate empty range.
I also think that the std::qualifications of types such asI adjusted this too. Moreover I marked tuple_cat as inline, I think we want it like that.
pair, tuple, array, false_type, true_type
in the added code should better be removed for consistency, but that is a minor point.
Attachment:
patch_50159_2
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |