Info for using declarations.
Synopsis
Declared in <mrdocs/Metadata/Symbol/Using.hpp>
struct UsingSymbol final
: SymbolCommonBase<SymbolKind::Using>
Base Classes
Name |
Description |
Base class for providing variant discriminator functions. |
Member Functions
Name |
Description |
|
Construct from |
Three‐way comparison operator |
Static Member Functions
Data Members
Name |
Description |
The using declaration. |
|
The symbol being introduced. |
|
The shadow declarations. |
Static Data Members
Name |
Non-Member Functions
Name |
Description |
Merges two Symbol objects. |
Description
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.
Created with MrDocs