The following fails, can't construct the iterator ```c++ #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...>`
Activity