#include <pybind11/operators.h>#include <pybind11/stl.h>#include "constructor_stats.h"#include "pybind11_tests.h"#include <functional>Go to the source code of this file.
Classes | |
| class | Vector2 |
| class | C1 |
| class | C2 |
| struct | HashMe |
| struct | std::hash< Vector2 > |
| struct | std::hash< HashMe > |
Namespaces | |
| namespace | std |
Functions | |
| int | operator+ (const C1 &, const C1 &) |
| int | operator+ (const C2 &, const C2 &) |
| int | operator+ (const C2 &, const C1 &) |
| int | operator+ (const C1 &, const C2 &) |
| bool | operator== (const HashMe &lhs, const HashMe &rhs) |
| std::string | abs (const Vector2 &) |
| TEST_SUBMODULE (operators, m) | |
| std::string abs | ( | const Vector2 & | ) |
Definition at line 133 of file test_operator_overloading.cpp.
Referenced by test_sequences_and_iterators::isclose(), test_chrono::test_chrono_system_clock(), test_chrono::test_chrono_system_clock_roundtrip(), test_chrono::test_chrono_system_clock_roundtrip_date(), TEST_SUBMODULE(), and test_buffers::test_to_python().
Definition at line 100 of file test_operator_overloading.cpp.
Definition at line 103 of file test_operator_overloading.cpp.
Definition at line 102 of file test_operator_overloading.cpp.
Definition at line 101 of file test_operator_overloading.cpp.
Definition at line 109 of file test_operator_overloading.cpp.
References HashMe::member.
Referenced by TEST_SUBMODULE().
| TEST_SUBMODULE | ( | operators | , |
| m | |||
| ) |
Definition at line 154 of file test_operator_overloading.cpp.
References abs(), hash(), operator==(), and Vector2::toString().