Spec-Zone.ru › C++

std::meta::access_context::unprivileged

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

See also

current
[static]
constructs a std::meta::access_context associated with the scope of the call site
(public static member function)
unchecked
[static]
constructs a std::meta::access_context with no associated scope (so that no access check is performed)
(public static member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/meta/access_context/unprivileged

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API