SignatureComparison 열거형(dbgmodel.h)
형식 또는 두 개의 서명이 비교되는 방법을 설명합니다.
통사론
typedef enum SignatureComparison {
Unrelated,
Ambiguous,
LessSpecific,
MoreSpecific,
Identical
} ;
상수
Unrelated 비교할 두 개의 서명/형식은 관련이 없는 경우 |
Ambiguous 한 서명/형식은 다른 서명과 모호하게 비교됩니다. 예를 들어 std::p air<*, int> 및 std::p air<int, *> 모호합니다. 다음과 같은 형식이 있습니다. 두 항목이 모두 동일하게 일치합니다(예: std::pair<int, int> ). |
LessSpecific 한 서명/형식은 다른 서명/형식보다 덜 구체적입니다. 예를 들어 std::vector<int> std::vector<*> 비교하면 LessSpecific이 생성됩니다. |
MoreSpecific 한 서명/형식이 다른 서명/형식보다 더 구체적입니다. 예를 들어 std::vector<int> std::vector<*> 비교하면 MoreSpecific이 생성됩니다. |
Identical 서명/형식은 동일합니다. |
요구 사항
요구 | 값 |
---|---|
헤더 | dbgmodel.h |