Skip to main content

5 docs tagged with "macros"

View all tags

Compile-time log level

A runtime level check is cheap, but it isn't free — it's still a branch and, on the disabled path,

Preprocessing in C++

The preprocessor is a text manipulation tool that runs before compilation. It handles #include, #define, #ifdef, and other directives, producing pure C++ code for the compiler.

Serialization macros

Writing tojson/fromjson by hand for a plain data struct is mostly boilerplate — list the