Advertisement
Guest User

Untitled

a guest
May 29th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. std::array<int ,3> arr; //fixed size array of 3
  2.  
  3. struct Vec<T, size: i32>{
  4. data: [T, size];
  5. }
  6.  
  7. type Vec3f = Vec::<f32, 3>;
  8. type Vec4f = Vec::<f32, 4>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement