Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Vector
- {
- int x;
- int y;
- Vector()
- Vector(int x, int y) : x(x), y(y) {}
- }
- class Something
- {
- static Vector vector;
- }
- Something::vector(5, 6); //legal?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement