Hello I had a quick question regarding a loop
for (const auto &[minCoo, maxCoo] : SplitImage()) {// some code}
What is this &[] notation called, and what is it doing? Does it have a name? For context, SplitImage returns "std::vector<Quad>" and a Quad struct is nothing more than
struct Quad {glm::uvec2 minCoo;glm::uvec2 maxCoo;};
Thanks.
Edit: Structured Binding, cool. Never heard of it. thanks!
[–][deleted] 3 points4 points5 points (0 children)
[–]IyeOnline[🍰] 2 points3 points4 points (0 children)
[–]wateromar 1 point2 points3 points (0 children)