Info for using declarations.
<mrdocs/Metadata/Symbol/Using.hpp>struct UsingSymbol final
: SymbolCommonBase<SymbolKind::Using>
For instance, the following code:
using A::f; // where f is a function in namespace A
would be represented by a UsingSymbol object.
Using-declarations can be used to introduce namespace members into other namespaces and block scopes, or to introduce base class members into derived class definitions, or to introduce enumerators into namespaces, block, and class scopes.
| Name | Description |
|---|---|
SymbolCommonBase<SymbolKind::Using> | Base class for providing variant discriminator functions. |
| Name | Description |
|---|---|
UsingSymbol [constructor] | Create a using-declaration symbol bound to an ID. |
operator<=> | Three-way comparison operator |
| Name |
|---|
isConcept |
isEnum |
isEnumConstant |
isFunction |
isGuide |
isNamespace |
isNamespaceAlias |
isOverloads |
isRecord |
isTypedef |
isUsing |
isVariable |
| Name | Description |
|---|---|
Class | The using declaration. |
IntroducedName | The symbol being introduced. |
ShadowDeclarations | The shadow declarations. |
| Name |
|---|
kind_id |
| Name | Description |
|---|---|
allMembers | Access declarations introduced by this using-declaration. |
canMerge | Check whether two symbols may be merged. |
getPrimaryLocation | Determine a location to use when none is explicitly chosen. |
merge | Merges two Symbol objects. |
merge | Merge two using-declarations with the same identity. |