From 4632edd885894f4e55be6f41b10cd583202cf969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Lisb=C3=B4a?= Date: Sat, 8 Apr 2017 12:55:29 -0300 Subject: [PATCH] (no issue): Small corrections in `adl/char_helper` - Removing superfluous `inline` annotations - Substituting double `inline` (decl/defn) for the adl_IMPL mechanism --- include/adl/char_helper.hpp | 74 ++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/include/adl/char_helper.hpp b/include/adl/char_helper.hpp index 97d4886..626bcf9 100644 --- a/include/adl/char_helper.hpp +++ b/include/adl/char_helper.hpp @@ -127,41 +127,41 @@ struct adl_CLASS char_helper : public char_definitions { // std::char_traits functions - constexpr static inline void assign(char_type& r, const char_type& a) noexcept; //std - static inline char_type* assign(char_type* p, std::size_t count, char_type a); //std - constexpr static inline bool eq(char_type a, char_type b) noexcept; //std - constexpr static inline bool lt(char_type a, char_type b) noexcept; //std - static inline char_type* move(char_type* dest, const char_type* src, std::size_t count); //std - static inline char_type* copy(char_type* dest, const char_type* src, std::size_t count); //std - constexpr static inline int compare(const char_type* a, const char_type* b, size_t count = 0); //std - constexpr static inline size_t length(const char_type* a, size_t a_size = 0); //std - constexpr static inline const char_type* find(const char_type* p, std::size_t count, const char_type& ch); //std - constexpr static inline char_type to_char_type(int_type c) noexcept; //std - constexpr static inline int_type to_int_type(char_type c) noexcept; //std - constexpr static inline bool eq_int_type(int_type c1, int_type c2) noexcept; //std - constexpr static inline int_type eof() noexcept; //std - constexpr static inline int_type not_eof(int_type e) noexcept; //std + constexpr static void assign(char_type& r, const char_type& a) noexcept; //std + static char_type* assign(char_type* p, std::size_t count, char_type a); //std + constexpr static bool eq(char_type a, char_type b) noexcept; //std + constexpr static bool lt(char_type a, char_type b) noexcept; //std + static char_type* move(char_type* dest, const char_type* src, std::size_t count); //std + static char_type* copy(char_type* dest, const char_type* src, std::size_t count); //std + constexpr static int compare(const char_type* a, const char_type* b, size_t count = 0); //std + constexpr static size_t length(const char_type* a, size_t a_size = 0); //std + constexpr static const char_type* find(const char_type* p, std::size_t count, const char_type& ch); //std + constexpr static char_type to_char_type(int_type c) noexcept; //std + constexpr static int_type to_int_type(char_type c) noexcept; //std + constexpr static bool eq_int_type(int_type c1, int_type c2) noexcept; //std + constexpr static int_type eof() noexcept; //std + constexpr static int_type not_eof(int_type e) noexcept; //std // ------ - constexpr static inline int compare(const char_type* a, const char_type* b, size_t a_size, size_t b_size); - constexpr static inline const char* ensure_empty_string(const char_type* s) noexcept; + constexpr static int compare(const char_type* a, const char_type* b, size_t a_size, size_t b_size); + constexpr static const char* ensure_empty_string(const char_type* s) noexcept; template