std::meta::access_context::unprivileged
From cppreference.com
static consteval std::meta::access_context unprivileged() noexcept;
|
||
Returns a new access_context whose associated scope is the global namespace scope, and whose designating class is the null reflection.
This scope has only access to public members.
Return value
An access_context whose associated scope is the global namespace scope.
Example
| This section is incomplete Reason: no example |
See also
[static] |
constructs a std::meta::access_context associated with the scope of the call site (public static member function) |
[static] |
constructs a std::meta::access_context with no associated scope (so that no access check is performed) (public static member function) |