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.
2 parents bb8014c + 5a6d924 commit 797d88fCopy full SHA for 797d88f
src/utils/include/utils/flatten.hpp
@@ -27,8 +27,9 @@ namespace detail {
27
template <class Container, class OutputIterator, class = void>
28
struct flatten_impl {
29
static OutputIterator apply(Container const &c, OutputIterator out) {
30
+ using ValueType = typename Container::value_type;
31
for (auto const &e : c) {
- out = flatten_impl<decltype(e), OutputIterator>::apply(e, out);
32
+ out = flatten_impl<ValueType, OutputIterator>::apply(e, out);
33
}
34
35
return out;
0 commit comments