Scarab  v2.11.1
Project 8 C++ Utility Library
Classes | Functions | Variables
test_operator_overloading.cpp File Reference
#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <pybind11/operators.h>
#include <functional>
Include dependency graph for test_operator_overloading.cpp:

Go to the source code of this file.

Classes

class  Vector2
 
class  C1
 
class  C2
 
struct  hash< Vector2 >
 

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 &)
 
void test_submodule_operators (py::module &)
 

Variables

test_initializer operators ("operators", test_submodule_operators)
 

Function Documentation

◆ operator+() [1/4]

int operator+ ( const C1 ,
const C1  
)

Definition at line 53 of file test_operator_overloading.cpp.

◆ operator+() [2/4]

int operator+ ( const C2 ,
const C2  
)

Definition at line 54 of file test_operator_overloading.cpp.

◆ operator+() [3/4]

int operator+ ( const C2 ,
const C1  
)

Definition at line 55 of file test_operator_overloading.cpp.

◆ operator+() [4/4]

int operator+ ( const C1 ,
const C2  
)

Definition at line 56 of file test_operator_overloading.cpp.

◆ test_submodule_operators()

void test_submodule_operators ( py::module m)

Definition at line 85 of file test_operator_overloading.cpp.

Variable Documentation

◆ operators

test_initializer operators("operators", test_submodule_operators)