如果我在C++中有一个未分配的对,我想使用什么而不是NULL?例如,假设我有如下(伪)代码:pairbestPair;//GlobalvariableupdateBestPair(vectora,vectorb){bestPair=NULL;for(/*loopthroughaandb*/){if(/*pair(a,b)isbetterthanbestPairandbetterthansomebaseline*/)bestPair=make_pair(a,b);}if(bestPair!=NULL)//Foundanacceptablebestpairfunction(bestPair