MCPcopy Create free account
hub / github.com/pybind/pybind11 / Vector2

Method Vector2

tests/test_operator_overloading.cpp:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18class Vector2 {
19public:
20 Vector2(float x, float y) : x(x), y(y) { print_created(this, toString()); }
21 Vector2(const Vector2 &v) : x(v.x), y(v.y) { print_copy_created(this); }
22 Vector2(Vector2 &&v) noexcept : x(v.x), y(v.y) {
23 print_move_created(this);

Callers 1

Calls 3

print_createdFunction · 0.85
print_copy_createdFunction · 0.85
print_move_createdFunction · 0.85

Tested by

no test coverage detected