We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d0d999 commit d7c4bebCopy full SHA for d7c4beb
1 file changed
include/xtl/xsequence.hpp
@@ -121,7 +121,8 @@ namespace xtl
121
static inline R forward(const T& r)
122
{
123
R ret;
124
- std::copy_n(std::begin(r), std::size(ret), std::begin(ret));
+ // std::copy_n(std::begin(r), std::size(ret), std::begin(ret));
125
+ std::copy(std::begin(r), std::end(r), std::begin(ret));
126
return ret;
127
}
128
};
0 commit comments