![]() |
Scarab
v2.11.1
Project 8 C++ Utility Library
|
#include "pybind11.h"
Go to the source code of this file.
Namespaces | |
| pybind11 | |
| glibc defines I as a macro which breaks things, e.g., boost template names | |
| pybind11::detail | |
Macros | |
| #define | PYBIND11_BINARY_OPERATOR(id, rid, op, expr) |
| #define | PYBIND11_INPLACE_OPERATOR(id, op, expr) |
| #define | PYBIND11_UNARY_OPERATOR(id, op, expr) |
Enumerations | |
| enum | op_id : int { op_add, op_sub, op_mul, op_div, op_mod, op_divmod, op_pow, op_lshift, op_rshift, op_and, op_xor, op_or, op_neg, op_pos, op_abs, op_invert, op_int, op_long, op_float, op_str, op_cmp, op_gt, op_ge, op_lt, op_le, op_eq, op_ne, op_iadd, op_isub, op_imul, op_idiv, op_imod, op_ilshift, op_irshift, op_iand, op_ixor, op_ior, op_complex, op_bool, op_nonzero, op_repr, op_truediv, op_itruediv, op_hash } |
| Enumeration with all supported operator types. More... | |
| enum | op_type : int { op_l, op_r, op_u } |
Functions | |
| self_t | __self () |
| Don't warn about an unused variable. More... | |
| op_< op_sub, op_l, self_t, self_t > | operator- (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_sub, op_l, self_t, T > | operator- (const self_t &, const T &) |
| template<typename T > | |
| op_< op_sub, op_r, T, self_t > | operator- (const T &, const self_t &) |
| op_< op_add, op_l, self_t, self_t > | operator+ (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_add, op_l, self_t, T > | operator+ (const self_t &, const T &) |
| template<typename T > | |
| op_< op_add, op_r, T, self_t > | operator+ (const T &, const self_t &) |
| op_< op_mul, op_l, self_t, self_t > | operator* (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_mul, op_l, self_t, T > | operator* (const self_t &, const T &) |
| template<typename T > | |
| op_< op_mul, op_r, T, self_t > | operator* (const T &, const self_t &) |
| op_< op_truediv, op_l, self_t, self_t > | operator/ (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_truediv, op_l, self_t, T > | operator/ (const self_t &, const T &) |
| template<typename T > | |
| op_< op_truediv, op_r, T, self_t > | operator/ (const T &, const self_t &) |
| op_< op_mod, op_l, self_t, self_t > | operator% (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_mod, op_l, self_t, T > | operator% (const self_t &, const T &) |
| template<typename T > | |
| op_< op_mod, op_r, T, self_t > | operator% (const T &, const self_t &) |
| op_< op_lshift, op_l, self_t, self_t > | operator<< (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_lshift, op_l, self_t, T > | operator<< (const self_t &, const T &) |
| template<typename T > | |
| op_< op_lshift, op_r, T, self_t > | operator<< (const T &, const self_t &) |
| op_< op_rshift, op_l, self_t, self_t > | operator>> (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_rshift, op_l, self_t, T > | operator>> (const self_t &, const T &) |
| template<typename T > | |
| op_< op_rshift, op_r, T, self_t > | operator>> (const T &, const self_t &) |
| op_< op_and, op_l, self_t, self_t > | operator & (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_and, op_l, self_t, T > | operator & (const self_t &, const T &) |
| template<typename T > | |
| op_< op_and, op_r, T, self_t > | operator & (const T &, const self_t &) |
| op_< op_xor, op_l, self_t, self_t > | operator^ (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_xor, op_l, self_t, T > | operator^ (const self_t &, const T &) |
| template<typename T > | |
| op_< op_xor, op_r, T, self_t > | operator^ (const T &, const self_t &) |
| op_< op_eq, op_l, self_t, self_t > | operator== (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_eq, op_l, self_t, T > | operator== (const self_t &, const T &) |
| template<typename T > | |
| op_< op_eq, op_r, T, self_t > | operator== (const T &, const self_t &) |
| op_< op_ne, op_l, self_t, self_t > | operator!= (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_ne, op_l, self_t, T > | operator!= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_ne, op_r, T, self_t > | operator!= (const T &, const self_t &) |
| op_< op_or, op_l, self_t, self_t > | operator| (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_or, op_l, self_t, T > | operator| (const self_t &, const T &) |
| template<typename T > | |
| op_< op_or, op_r, T, self_t > | operator| (const T &, const self_t &) |
| op_< op_gt, op_l, self_t, self_t > | operator> (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_gt, op_l, self_t, T > | operator> (const self_t &, const T &) |
| template<typename T > | |
| op_< op_gt, op_r, T, self_t > | operator> (const T &, const self_t &) |
| op_< op_ge, op_l, self_t, self_t > | operator>= (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_ge, op_l, self_t, T > | operator>= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_ge, op_r, T, self_t > | operator>= (const T &, const self_t &) |
| op_< op_lt, op_l, self_t, self_t > | operator< (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_lt, op_l, self_t, T > | operator< (const self_t &, const T &) |
| template<typename T > | |
| op_< op_lt, op_r, T, self_t > | operator< (const T &, const self_t &) |
| op_< op_le, op_l, self_t, self_t > | operator<= (const self_t &, const self_t &) |
| template<typename T > | |
| op_< op_le, op_l, self_t, T > | operator<= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_le, op_r, T, self_t > | operator<= (const T &, const self_t &) |
| template<typename T > | |
| op_< op_iadd, op_l, self_t, T > | operator+= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_isub, op_l, self_t, T > | operator-= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_imul, op_l, self_t, T > | operator*= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_itruediv, op_l, self_t, T > | operator/= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_imod, op_l, self_t, T > | operator%= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_ilshift, op_l, self_t, T > | operator<<= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_irshift, op_l, self_t, T > | operator>>= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_iand, op_l, self_t, T > | operator &= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_ixor, op_l, self_t, T > | operator^= (const self_t &, const T &) |
| template<typename T > | |
| op_< op_ior, op_l, self_t, T > | operator|= (const self_t &, const T &) |
| op_< op_neg, op_u, self_t, undefined_t > | operator- (const self_t &) |
| op_< op_pos, op_u, self_t, undefined_t > | operator+ (const self_t &) |
| op_< op_abs, op_u, self_t, undefined_t > | abs (const self_t &) |
| op_< op_hash, op_u, self_t, undefined_t > | hash (const self_t &) |
| op_< op_invert, op_u, self_t, undefined_t > | operator~ (const self_t &) |
| op_< op_bool, op_u, self_t, undefined_t > | operator! (const self_t &) |
| op_< op_int, op_u, self_t, undefined_t > | int_ (const self_t &) |
| op_< op_float, op_u, self_t, undefined_t > | float_ (const self_t &) |
Variables | |
| static const self_t | self = self_t() |
| #define PYBIND11_BINARY_OPERATOR | ( | id, | |
| rid, | |||
| op, | |||
| expr | |||
| ) |
Definition at line 80 of file operators.h.
| #define PYBIND11_INPLACE_OPERATOR | ( | id, | |
| op, | |||
| expr | |||
| ) |
Definition at line 101 of file operators.h.
| #define PYBIND11_UNARY_OPERATOR | ( | id, | |
| op, | |||
| expr | |||
| ) |
Definition at line 111 of file operators.h.
1.8.13