Test if vector has even amount of elements

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.