Debian Codegraph @

cmake/tribits/examples/tpls/HeaderOnlyTpl/HeaderOnlyTpl_stuff.hpp

raw
1 #ifndef HEADER_ONLY_TPL_STUFF_HPP
2 #define HEADER_ONLY_TPL_STUFF_HPP
3
4 #include <string>
5
6 namespace HeaderOnlyTpl {
7
8 /** \brief . */
9 template <typename T>
10 T sqr(const T &v)
11 {
12 return v*v;
13 }
14
15 /** \brief . */
16 inline std::string itsme()
17 {
18 return "headeronlytpl";
19 }
20
21 } // namespace HeaderOnlyTpl
22
23
24 #endif // HEADER_ONLY_TPL_STUFF_HPP