From 69905917cf2c46fa0093df7323e5326450d1246b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 14 Oct 2016 00:00:22 +0300 Subject: move code from headers to .cpp files --- src/string.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/string.hpp') diff --git a/src/string.hpp b/src/string.hpp index 3841b8c..52ed518 100644 --- a/src/string.hpp +++ b/src/string.hpp @@ -18,7 +18,7 @@ namespace string { template - inline void ltrim(std::basic_string& s) + void ltrim(std::basic_string& s) { s.erase(s.begin(), std::find_if(s.begin(), s.end(), [] (const Char& c) { @@ -27,7 +27,7 @@ namespace string } template - inline void rtrim(std::basic_string& s) + void rtrim(std::basic_string& s) { s.erase(std::find_if(s.rbegin(), s.rend(), [] (const Char& c) { @@ -36,14 +36,14 @@ namespace string } template - inline void trim(std::basic_string& s) + void trim(std::basic_string& s) { ltrim(s); rtrim(s); } template - inline std::basic_string join( + std::basic_string join( const Sep& sep, InputIterator beg, InputIterator end) @@ -63,7 +63,7 @@ namespace string } template - inline std::basic_string join( + std::basic_string join( const Sep& sep, const std::vector>& args) { @@ -112,7 +112,7 @@ namespace string }; template - inline void replace( + void replace( std::basic_string& s, const What& what, const By& by) @@ -136,7 +136,7 @@ namespace string } template - inline void prefix_with( + void prefix_with( std::basic_string& s, const What& what, const Char& by) -- cgit v1.2.3