Jose Sitanggang
Nov 19, 2023

--

Hello, we can use the empty struct as well. But the downside is that an empty struct cannot be a const; since the instance of the type is exported, it can be mutated, which is not a definition of namespace. Namespace is like an identifier, so it must be read only.

--

--

No responses yet