Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
# .pre-commit-config.yaml @wusatosi # Add other project owners here
# .markdownlint.yaml @wusatosi # Add other project owners here

* @ednolan @bretbrownjr @dietmarkuehl @neatudarius @steve-downey @wusatosi
* @ednolan @neatudarius @jeffgarland @nora77zz
3 changes: 2 additions & 1 deletion examples/take_before_direct_usage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ namespace btb = beman::take_before;
int main() {
std::vector<int> v = {10, 20, 30, 40};
std::cout << "Original: ";
for (int i : v)
for (int i : v) {
std::cout << i << ' ';
}
std::cout << "\nTake before 30: ";
// Direct function call syntax (alternative to pipe syntax)
for (int i : btb::views::take_before(v, 30)) {
Expand Down