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

/gem5/ext/pybind11/tests/
H A Dtest_call_policies.cpp22 struct DependentGuard { struct
25 DependentGuard() { enabled = CustomGuard::enabled; } function in struct:DependentGuard
26 ~DependentGuard() { enabled = false; }
30 bool DependentGuard::enabled = false;
79 return CustomGuard::report_status() + std::string(" & ") + DependentGuard::report_status();
80 }, py::call_guard<CustomGuard, DependentGuard>());
83 return DependentGuard::report_status() + std::string(" & ") + CustomGuard::report_status();
84 }, py::call_guard<DependentGuard, CustomGuard>());

Completed in 4 milliseconds