Skip to content

SageInterface::cxxNonTypeTemplateArgumentTypeConversionIsExact

Verify that the exact type of a written C++ non-type template argument can undergo the standard conversion represented by its canonical parameter type. This is deliberately narrower than general implicit conversion: it covers top-level cv removal, qualification adjustment, array/function decay, reference binding, and null pointer conversion without treating unrelated but similarly spelled types as equivalent.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
bool
cxxNonTypeTemplateArgumentTypeConversionIsExact(
    SgType const* source,
    SgType const* parameter);

Parameters

Name Description
source This class represents the base class for all types.
parameter This class represents the base class for all types.

Created with MrDocs