Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // main.c
- #include "t.hxx"
- int main()
- {
- t<int> t;
- return 0;
- }
- // t.hxx
- #include <iostream>
- static void lol()
- {
- std::cout << "lol" << std::endl;
- }
- template <typename T2>
- struct t
- {
- t()
- {
- lol();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement