Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrxh/alien
/ IntVector2D
Method
IntVector2D
source/Base/Definitions.cpp:5–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#include <ostream>
4
5
IntVector2D::IntVector2D(std::initializer_list<int> l)
6
{
7
auto it = l.begin();
8
x = *it++;
9
y = *it;
10
}
11
12
bool IntVector2D::operator==(IntVector2D const& vec) const
13
{
Callers
nothing calls this directly
Calls
1
begin
Method · 0.80
Tested by
no test coverage detected