20 options() : previous_state(global_state()) {}
23 options(
const options&) =
delete;
24 options& operator=(
const options&) =
delete;
28 global_state() = previous_state;
48 void*
operator new(
size_t) =
delete;
53 bool show_user_defined_docstrings =
true;
54 bool show_function_signatures =
true;
58 static state instance;
#define PYBIND11_NAMESPACE
options & enable_user_defined_docstrings() &
static bool show_function_signatures()
static state & global_state()
options & enable_function_signatures() &
#define NAMESPACE_END(name)
static bool show_user_defined_docstrings()
options & disable_function_signatures() &
#define NAMESPACE_BEGIN(name)
options & disable_user_defined_docstrings() &