example_fun.cpp 362 B

123456789101112131415
  1. #include "example_fun.h"
  2. #include <iostream>
  3. template <typename Printable>
  4. IGL_INLINE bool igl::example_fun(const Printable & input)
  5. {
  6. using namespace std;
  7. cout<<"example_fun: "<<input<<endl;
  8. return true;
  9. }
  10. #ifndef IGL_HEADER_ONLY
  11. template bool igl::example_fun<double>(const double& input);
  12. template bool igl::example_fun<int>(const int& input);
  13. #endif