Searched refs:PYBIND11_UNARY_OPERATOR (Results 1 - 1 of 1) sorted by relevance
/gem5/ext/pybind11/include/pybind11/ |
H A D | operators.h | 111 #define PYBIND11_UNARY_OPERATOR(id, op, expr) \ macro 148 PYBIND11_UNARY_OPERATOR(neg, operator-, -l) 149 PYBIND11_UNARY_OPERATOR(pos, operator+, +l) 150 PYBIND11_UNARY_OPERATOR(abs, abs, std::abs(l)) 151 PYBIND11_UNARY_OPERATOR(hash, hash, std::hash<L>()(l)) 152 PYBIND11_UNARY_OPERATOR(invert, operator~, (~l)) 153 PYBIND11_UNARY_OPERATOR(bool, operator!, !!l) 154 PYBIND11_UNARY_OPERATOR(int, int_, (int) l) 155 PYBIND11_UNARY_OPERATOR(float, float_, (double) l) 159 #undef PYBIND11_UNARY_OPERATOR macro [all...] |
Completed in 4 milliseconds