MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / operator!

Method operator!

include/win/boost/python/object_operators.hpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68template <class U>
69inline bool
70object_operators<U>::operator!() const
71{
72 object_cref2 x = *static_cast<U const*>(this);
73 int is_true = PyObject_IsTrue(x.ptr());
74 if (is_true < 0) throw_error_already_set();
75 return !is_true;
76}
77
78# define BOOST_PYTHON_COMPARE_OP(op, opid) \
79template <class L, class R> \

Callers

nothing calls this directly

Calls 1

ptrMethod · 0.45

Tested by

no test coverage detected