Oh and if you need more than just a pair - a wider collection of data - you can use tuple.
See: std::tuple - cppreference.com
In either case, make sure to:
#include <utility>
Oh and if you need more than just a pair - a wider collection of data - you can use tuple.
See: std::tuple - cppreference.com
In either case, make sure to:
#include <utility>