Alternative Possibility - Implicit with
zjh
fqbqrr at 163.com
Sun Nov 20 01:25:13 UTC 2022
On Sunday, 20 November 2022 at 01:11:49 UTC, zjh wrote:
> For a specific function, you only need to give the `syntax` for
> opening a specific namespace such as `'enum/struct/class'`etc.
> The `existing syntax/tools` will not be broken or not much
> damage.
`With` is not as good as `using namespace std` in `C++`, because
`with` is for a statement, while `using`can be for a `scope`. In
this `scope/function`, you can omit the prefix of
`struct/class/enum/...`.
More information about the Digitalmars-d
mailing list