[[["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."],[[["`RevArray` is a C++ class within the OR-Tools constraint solver library, designed to manage a reversible array of elements."],["It provides methods to initialize the array with a specific size and default value, set values during the solving process, and access the size and elements of the array."],["`RevArray` integrates with the `Solver` class to enable backtracking and efficient state management during constraint programming."]]],["The `RevArray` class in C++ provides methods for managing an array. It can be initialized with a specific `size` and a default `val`. The `size` method returns the array's length. The `Value` method retrieves the element at a given `index`. `SetValue` allows modification of the array element at the given `index` with a new `val`, requiring a pointer `s` to a `Solver`. The class also contains a destructor, denoted by `~RevArray`.\n"]]