error: ‘struct std::pair<const unsigned int, typeCount>’ has no member named ‘secod’