select_many example

May 29, 2014 at 9:22 AM
It doesnt look as if the documentation example for select_many is correct, because the word select_many does not appear.
select_many
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();
Coordinator
May 30, 2014 at 9:50 AM
Hi.

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

Thanks,
Mårten