From 8918d4c9d68792ecc648bca06e19b170b2c9e29e Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Thu, 9 Sep 2021 17:47:56 -0700 Subject: [PATCH] Implement LWG-3549 Which (1) makes `enable_view` be `true` for a type `T` which is publicly-and-unambigously derived from a single specialization of `view_interface`, and (2) removes `view_interface`'s inheritance of `view_base`. Fixes #2178 --- stl/inc/xutility | 17 +++++++++-- .../P0896R4_ranges_range_machinery/test.cpp | 29 ++++++++++++++++++- 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/stl/inc/xutility b/stl/inc/xutility index f8e5f13df53..9a299f419dd 100644 --- a/stl/inc/xutility +++ b/stl/inc/xutility @@ -2681,8 +2681,21 @@ namespace ranges { struct view_base {}; + template