Except you should better use std::array<int,NUM_CARDS> where is the question?
@Thomas Huxhorn
Actually, JLBorges was responding to a poster, but it seems this poster deleted his or her question leaving just the hint of a solution.
Oh okay.
Indeed a very quick question ;)