N_CLASS(NistCom) * GetNistCom() const { HNistCom hValue; NCheck(WsqInfoGetNistCom(GetHandle(), &hValue)); try { return FromHandle<N_CLASS(NistCom)>(hValue, true, true); } catch (...) { Unref(hValue); throw; } }
NistCom GetNistCom() const { HNistCom hValue; NCheck(WsqInfoGetNistCom(GetHandle(), &hValue)); return FromHandle<NistCom>(hValue, true); }