doc: usingnamespace imports only public decls
This commit is contained in:
committed by
Andrew Kelley
parent
2f20833097
commit
efea7958f8
@@ -5189,7 +5189,7 @@ test "@intToPtr for pointer to zero bit type" {
|
||||
|
||||
{#header_open|usingnamespace#}
|
||||
<p>
|
||||
{#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the declarations of
|
||||
{#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the public declarations of
|
||||
the operand, which must be a {#link|struct#}, {#link|union#}, or {#link|enum#}, into the current scope:
|
||||
</p>
|
||||
{#code_begin|test|usingnamespace#}
|
||||
|
||||
Reference in New Issue
Block a user