libstdc++: Simplify std::common_comparison_category
authorJonathan Wakely <jwakely@redhat.com>
Thu, 12 Dec 2019 14:35:55 +0000 (14:35 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 12 Dec 2019 14:35:55 +0000 (14:35 +0000)
commitd1505d01462a5c99ecee7847d913836f898f8b65
treee8e8bdb449652308695c8d755bd931b73c87c8dc
parent2fb1d6d65474998f9359203af9785f8613f3b622
libstdc++: Simplify std::common_comparison_category

* libsupc++/compare (common_comparison_category): Define without using
concepts and optimise for compilation time.
(__detail::__cmp_cat_ids): Remove.
(__detail::__common_cmp_cat): Replace class template and
specializations with constexpr function.

From-SVN: r279307
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/compare