MCPcopy Create free account
hub / github.com/pybind/pybind11 / module_local

Class module_local

include/pybind11/attr.h:118–121  ·  view source on GitHub ↗

Annotation that marks a class as local to the module:

Source from the content-addressed store, hash-verified

116
117/// Annotation that marks a class as local to the module:
118struct module_local {
119 const bool value;
120 constexpr explicit module_local(bool v = true) : value(v) {}
121};
122
123/// Annotation to mark enums as an arithmetic type
124struct arithmetic {};

Callers 8

TEST_SUBMODULEFunction · 0.85
TEST_SUBMODULEFunction · 0.85
PYBIND11_MODULEFunction · 0.85
test_class.cppFile · 0.85
add_ostream_redirectFunction · 0.85
make_iterator_implFunction · 0.85
bind_vectorFunction · 0.85
bind_mapFunction · 0.85

Calls

no outgoing calls

Tested by 3

TEST_SUBMODULEFunction · 0.68
TEST_SUBMODULEFunction · 0.68
PYBIND11_MODULEFunction · 0.68