Define NAMESPACE_BEGIN¶
- Defined in File common.h
Define Documentation¶
-
NAMESPACE_BEGIN
(name)¶ Convenience macro for namespace declarations.
The macro
NAMESPACE_BEGIN(nanogui)
will expand tonamespace nanogui {
. This is done to hide the namespace scope from editors and C++ code formatting tools that may otherwise indent the entire file. The correspondingNAMESPACE_END
macro also lists the namespace name for improved readability.- Parameters
name
: The name of the namespace scope to open