Open walter298 opened 4 weeks ago
This code doesn't compile:
struct Person { std::string name; int age = 0; }; int main() { auto [data, in, out] = zpp::bits::data_in_out(); std::vector<Person> people(5); in(std::views::transform(people, [](const auto& p) { return p.name; })); out(std::ranges::subrange(people.begin(), people.begin() + 3)); }
Currently there is no ranges support, but it’s definitely an interesting feature request
This code doesn't compile: