We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc7d28 commit 46794a7Copy full SHA for 46794a7
source/containers/iterator_t.cpp
@@ -9,10 +9,11 @@ import containers.begin_end;
9
import containers.range;
10
11
import bounded;
12
+import std_module;
13
14
namespace containers {
15
16
export template<range Range>
-using iterator_t = decltype(containers::begin(bounded::declval<Range>()));
17
+using iterator_t = std::remove_cvref_t<decltype(containers::begin(bounded::declval<Range>()))>;
18
19
} // namespace containers
0 commit comments