Guest User

Untitled

a guest
Nov 16th, 2014
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. // yoba.hpp:
  2. struct Yoba { void test(); }
  3. // yoba.cpp:
  4. Yoba::test() {}
  5.  
  6. // test.hpp:
  7. template<typename T>
  8. void test(T & x)
  9. {
  10.    x.test();
  11. }
  12. // test.cpp:
  13. #include "test.hpp"
Advertisement
Add Comment
Please, Sign In to add comment