Test if vector has even amount of elements

closed account (EwCjE3v7)
I would like to know an if statement that will test if there are even amount of element in a vector.

EDIT:

LoL just figured it out: if (storage.size()%2 == 0)
Last edited on
Topic archived. No new replies allowed.