Searched refs:Vector2 (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_operator_overloading.cpp15 class Vector2 { class
17 Vector2(float x, float y) : x(x), y(y) { print_created(this, toString()); } function in class:Vector2
18 Vector2(const Vector2 &v) : x(v.x), y(v.y) { print_copy_created(this); } function in class:Vector2
19 Vector2(Vector2 &&v) : x(v.x), y(v.y) { print_move_created(this); v.x = v.y = 0; } function in class:Vector2
20 Vector2 &operator=(const Vector2 &v) { x = v.x; y = v.y; print_copy_assigned(this); return *this; }
21 Vector2 &operator=(Vector2
[all...]
H A Dtest_operator_overloading.py7 v1 = m.Vector2(1, 2)
42 cstats = ConstructorStats.get(m.Vector2)

Completed in 5 milliseconds