sun::abi::NominalIdentity
class · Source (opens in a new tab)
class sun::abi::NominalIdentityIdentifies a declaration across revisions of an explicitly named library.
Equality identifies a candidate correspondence, not ABI compatibility. PortableDeclarationKey continues to identify exact code and linker symbols.
Public Functions
NominalIdentity
public · function · Source (opens in a new tab)
sun::abi::NominalIdentity::NominalIdentity(const std::string &library, NominalKind kind, const std::vector< std::string > &path)Creates an identity from a library namespace and an ordered declaration path, including enclosing modules/types.
Empty names and paths are rejected. The caller supplies a persistent library identity, never a version, source filename, artifact digest, or module name inferred from a candidate bundle.
Related: NominalKind
encoding
public · function · Source (opens in a new tab)
const std::string & sun::abi::NominalIdentity::encoding() constReturns the canonical experimental identity, independent of code bytes.
operator==
public · function · Source (opens in a new tab)
bool sun::abi::NominalIdentity::operator==(const NominalIdentity &) const =defaultReports the same nominal origin without authorizing a replacement.
Related: NominalIdentity
Private Fields
encoded_
private · variable · Source (opens in a new tab)
std::string sun::abi::NominalIdentity::encoded_No documentation comment.