Home
last modified time | relevance | path

Searched refs:DependentGuard (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/tests/
Dtest_call_policies.cpp22 struct DependentGuard { struct
25 DependentGuard() { enabled = CustomGuard::enabled; } in DependentGuard() function
26 ~DependentGuard() { enabled = false; } in ~DependentGuard() argument
30 bool DependentGuard::enabled = false; argument
80 return CustomGuard::report_status() + std::string(" & ") + DependentGuard::report_status(); in TEST_SUBMODULE()
81 }, py::call_guard<CustomGuard, DependentGuard>()); in TEST_SUBMODULE()
84 return DependentGuard::report_status() + std::string(" & ") + CustomGuard::report_status(); in TEST_SUBMODULE()
85 }, py::call_guard<DependentGuard, CustomGuard>()); in TEST_SUBMODULE()