Advertisement
Guest User

Untitled

a guest
Dec 27th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. void main() {
  2. Point <point_param_1::point_param_2> first_point;
  3. }
  4.  
  5. template<typename parameters>
  6. class Point {
  7.  
  8. public:
  9.  
  10. int x;
  11. int y;
  12. }
  13.  
  14. struct point_param_1 {
  15.  
  16. static const int X_POW = 15;
  17.  
  18. struct point_param_2 {
  19. static const int Y_POW = 8;
  20. }
  21. }
  22.  
  23. Point <typename point_param_1::point_param_2> first_point;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement