Info for using declarations.
<mrdocs/Metadata/Symbol/Using.hpp>
struct UsingSymbol final
: SymbolCommonBase<SymbolKind::Using>
Name | Description |
---|---|
SymbolCommonBase<SymbolKind::Using> | Base class for providing variant discriminator functions. |
Name | Description |
---|---|
UsingSymbol [constructor] | Construct from SymbolID |
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 |
---|---|
merge | Merges two Symbol objects. |
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.