Advertisement
wheeler

undefined reference to func_spec

Sep 2nd, 2014
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. // util.hpp file:
  2. template <char N>
  3. void func()
  4. {
  5.     // definition
  6. }
  7.  
  8. void func_spec();
  9.  
  10. // util.cpp file
  11. #include "util.hpp"
  12. void func_spec()
  13. {
  14.     return func<'N'>();
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement