aui::valid::container::any#
Header: | #include <AUI/Validation/AValidator.h> |
CMake: | aui_link(my_target PUBLIC aui::core) |
Examples#
examples/7guis/cells/src/Spreadsheet.h
7GUIs Cells - Spreadsheet processor (Excel).
Cell& operator[](glm::uvec2 pos) { return *mCells[pos.y * mSize.x + pos.x]; }
const Cell& operator[](glm::uvec2 pos) const {
if (glm::any(glm::greaterThanEqual(pos, mSize))) {
throw AException("OUTOFBOUNDS");
}
return *mCells[pos.y * mSize.x + pos.x];
}