This project is read-only.

select_many example

May 29, 2014 at 10:22 AM
It doesnt look as if the documentation example for select_many is correct, because the word select_many does not appear.
The select_many operator performs a one-to-many element projection over a sequence.
template<typename TPredicate>
detail::select_many_builder<TPredicate> select_many (TPredicate predicate);
The following example creates a list of orders from all customers located in London.
auto orders = from_array(customers)
          >> where([](customer const& c) {return c.Address.City == "London";})
          >> to_list();
May 30, 2014 at 10:50 AM

Good point. I have update the documentation to something that should demonstrate select_many.