Define NAMESPACE_BEGIN

Define Documentation

NAMESPACE_BEGIN(name)

Convenience macro for namespace declarations.

The macro NAMESPACE_BEGIN(nanogui) will expand to namespace nanogui {. This is done to hide the namespace scope from editors and C++ code formatting tools that may otherwise indent the entire file. The corresponding NAMESPACE_END macro also lists the namespace name for improved readability.

Parameters
  • name: The name of the namespace scope to open