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 829cbf4 commit d53121cCopy full SHA for d53121c
source/containers/algorithms/generate.cpp
@@ -124,8 +124,11 @@ struct indexed_generate_n_iterator {
124
{
125
}
126
127
- constexpr decltype(auto) operator*() const {
128
- return std::invoke(m_generator, bounded::assume_in_range<generate_index_type<Offset>>(m_offset));
+ constexpr auto operator*() const -> decltype(auto) {
+ return std::invoke(
129
+ m_generator,
130
+ bounded::assume_in_range<generate_index_type<Offset>>(m_offset)
131
+ );
132
133
OPERATORS_ARROW_DEFINITIONS
134
0 commit comments