git-svn-id: svn://ultimatepp.org/upp/trunk@11683 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-01-11 08:41:04 +00:00
parent 2cbb01d375
commit 0e1a0ce9d6

View file

@ -15,7 +15,7 @@ CONSOLE_APP_MAIN
Sort(SortedRange(MakeIota(10)));
// Testing const argument
auto h = MakeIota(10);
auto h = MakeIota(20);
const auto& x = h;
DUMP(SubRange(x, 1, 4));
@ -24,4 +24,5 @@ CONSOLE_APP_MAIN
DUMP(ViewRange(x, MakeIota(3)));
DUMP(FilterRange(x, [=](int x) { return x > 4; }));
DUMP(SortedRange(x));
DUMP(FilterRange(ReverseRange(SortedRange(x)), [] (int x) { return x & 1; }));
}