Guest User

Untitled

a guest
Jul 7th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. template <typename Type>
  2. class Outer
  3.     {
  4.         public:
  5.             template <typename InType>
  6.             class Inner
  7.             {
  8.                 public:
  9.                     template <typename X>
  10.                     void nested();
  11.             };
  12.     };
  13.  
  14.  
  15.  
  16.  
  17. надо написать
  18. template <typename T1, typename T2>
  19. class Usage
  20.     {
  21.         public:
  22.             void caller(Outer<T1>::Inner<T2> &obj)
  23. { вызов obj. nested<int>(); }
  24.     };
Add Comment
Please, Sign In to add comment