We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The following fails, can't construct the iterator
#include <vector> #include "cppitertools/chain.hpp" int main() { std::vector<char> v1 = {'a'}; std::vector<char> v2 = {'b'}; const auto ch = iter::chain(v1, v2); std::begin(ch); }
Because the chain begin() const is saying that the iterator needs a const tuple<Ts...> while what it actually gets is tuple<const Ts...>
begin() const
const tuple<Ts...>
tuple<const Ts...>