API glossary
On this page
Kinds, modifiers and package labels in the C++ API reference. Select an annotation or full API badge to open its definition here.
The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.
Symbol kinds
Kinds identify declarations in the C++ API reference.
class
A C++ class type grouping data and member functions, with private member access by default.
References: C++ classes .
struct
A C++ class declared with struct, whose members and bases are public by default.
struct does not imply immutability or a particular allocation strategy.
References: C++ class keys .
enum
A C++ enumeration with named values. enum class introduces a scoped enumeration.
References: C++ enumerations .
function
A C++ non-member function, typically declared within a namespace.
References: C++ function declarations .
method
A C++ member function invoked for an object or, when static, through its class.
References: C++ member functions .
attribute
A C++ data member in this reference. The badge describes data, rather than a bracketed attribute annotation.
References: C++ data members .
constant
A named C++ API value or preprocessor macro. Read the declaration to distinguish const, constexpr and #define.
References: C++ macro replacement .
typealias
A C++ typedef or using declaration naming an existing type without creating a new distinct type.
References: C++ type aliases .
Modifiers
Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.
static
A C++ member associated with its class rather than a particular object.
References: C++ static members .
abstract
A C++ class with an unimplemented pure virtual function, which cannot be instantiated directly.
References: C++ abstract classes .
readonly
A const-qualified C++ declaration. A const member function cannot change ordinary members through this; mutable members and referenced objects may still change.
References: C++ const qualification .
overload
C++ functions sharing a name, resolved from arguments and the applicable member qualifiers.
References: C++ overload resolution .
Package context
Package labels identify where an API is supplied.
package
The C++ library distribution supplying headers and library targets. Its installation identity is separate from namespace names.
References: CMake packages .