Classes | Namespaces | Functions
test_operator_overloading.cpp File Reference
#include <pybind11/operators.h>
#include <pybind11/stl.h>
#include "constructor_stats.h"
#include "pybind11_tests.h"
#include <functional>
Include dependency graph for test_operator_overloading.cpp:

Go to the source code of this file.

Classes

class  C1
 
class  C2
 
struct  std::hash< HashMe >
 
struct  std::hash< Vector2 >
 
struct  HashMe
 
class  Vector2
 

Namespaces

 std
 

Functions

std::string abs (const Vector2 &)
 
int operator+ (const C1 &, const C1 &)
 
int operator+ (const C1 &, const C2 &)
 
int operator+ (const C2 &, const C1 &)
 
int operator+ (const C2 &, const C2 &)
 
bool operator== (const HashMe &lhs, const HashMe &rhs)
 
 TEST_SUBMODULE (operators, m)
 

Function Documentation

◆ abs()

std::string abs ( const Vector2 )

Definition at line 133 of file test_operator_overloading.cpp.

◆ operator+() [1/4]

int operator+ ( const C1 ,
const C1  
)

Definition at line 100 of file test_operator_overloading.cpp.

◆ operator+() [2/4]

int operator+ ( const C1 ,
const C2  
)

Definition at line 103 of file test_operator_overloading.cpp.

◆ operator+() [3/4]

int operator+ ( const C2 ,
const C1  
)

Definition at line 102 of file test_operator_overloading.cpp.

◆ operator+() [4/4]

int operator+ ( const C2 ,
const C2  
)

Definition at line 101 of file test_operator_overloading.cpp.

◆ operator==()

bool operator== ( const HashMe lhs,
const HashMe rhs 
)

Definition at line 109 of file test_operator_overloading.cpp.

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( operators  ,
m   
)

Definition at line 150 of file test_operator_overloading.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52