Created
December 27, 2015 12:58
-
-
Save pmiddend/92144f4e4d397f70446d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return | |
fcol( | |
fcppt::algorithm::map<std::vector<RowResult>>( | |
fcppt::algorithm::map<std::vector<std::vector<T>>>( | |
fcppt::algorithm::map<std::vector<fcppt::container::grid::pos_ref_range<input_grid const>>>( | |
fcppt::make_int_range<input_size_type>(0,g.size().h()), | |
[&g](input_size_type const y) | |
{ | |
return | |
fcppt::container::grid::make_pos_ref_crange_start_end<input_grid>( | |
g, | |
fcppt::container::grid::min<input_size_type,2>(input_pos{0u,y}), | |
fcppt::container::grid::sup<input_size_type,2>(input_pos(g.size().w(),y))); | |
}), | |
[](fcppt::container::grid::pos_reference<input_grid const> const &pos) | |
{ | |
return pos.value(); | |
}), | |
frow)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment