Used to set and unset scoped defines to preproc_map. More...
#include <config_cache.hpp>
Public Member Functions | |
scoped_preproc_define_internal (const std::string &name, bool add=true) | |
Adds normal preproc define. More... | |
~scoped_preproc_define_internal () | |
This removes preproc define from cacher. More... | |
Protected Attributes | |
std::string | name_ |
bool | add_ |
Used to set and unset scoped defines to preproc_map.
This is preferred form to set defines that aren't global
Definition at line 41 of file config_cache.hpp.
|
inline |
Adds normal preproc define.
name | name of preproc define to add. |
add | true if we should add this. |
Definition at line 50 of file config_cache.hpp.
|
inline |
This removes preproc define from cacher.
Definition at line 60 of file config_cache.hpp.
|
protected |
|
protected |