[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBeginEndWrapper\u003c/code\u003e class in C++ provides a way to wrap a pair of iterators (\u003ccode\u003ebegin\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e) for use with range-based for loops or other algorithms.\u003c/p\u003e\n"],["\u003cp\u003eIt offers methods such as \u003ccode\u003ebegin\u003c/code\u003e, \u003ccode\u003eend\u003c/code\u003e, and \u003ccode\u003eempty\u003c/code\u003e to access the underlying iterators and check for emptiness.\u003c/p\u003e\n"]]],["The `BeginEndWrapper` class in C++ utilizes iterators to define a range. Its constructor, `BeginEndWrapper`, takes two `Iterator` arguments, representing the beginning and end of the range. The `begin` and `end` methods return the respective `Iterator` objects. The `empty` method returns a boolean indicating if the defined range is empty. These methods facilitate working with ranges in C++.\n"],null,["# BeginEndWrapper\n\nC++ Reference: class BeginEndWrapper\n====================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|-------------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [`begin`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/iterators.h#L44) | Return type: `Iterator ` \u003cbr /\u003e |\n| [`BeginEndWrapper`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/iterators.h#L43) | \u003cbr /\u003e Arguments: `Iterator begin, Iterator end` \u003cbr /\u003e |\n| [`empty`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/iterators.h#L47) | Return type: `bool ` \u003cbr /\u003e |\n| [`end`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/iterators.h#L45) | Return type: `Iterator ` \u003cbr /\u003e |"]]