diff --git a/sprout/bit/rotate.hpp b/sprout/bit/rotate.hpp index fa6dc0b9..25ea942b 100644 --- a/sprout/bit/rotate.hpp +++ b/sprout/bit/rotate.hpp @@ -32,4 +32,4 @@ namespace sprout { } } // namespace sprout -#endif // #ifndef SPROUT_BIT_ROTATE_HPP +#endif // #ifndef SPROUT_BIT_ROTATE_HPP diff --git a/sprout/bitset/bitset.hpp b/sprout/bitset/bitset.hpp index e17f4d4b..42647435 100644 --- a/sprout/bitset/bitset.hpp +++ b/sprout/bitset/bitset.hpp @@ -961,7 +961,7 @@ namespace sprout { SPROUT_CONSTEXPR bitset do_sanitize() const SPROUT_NOEXCEPT { typedef sprout::detail::sanitize::value)> sanitize_type; - return bitset(this->hiword(sanitize_type::do_sanitize_c(this->hiword()))); + return bitset(this->hiword(sanitize_type::do_sanitize_c(this->hiword()))); } SPROUT_CONSTEXPR bitset do_sanitize_c() const SPROUT_NOEXCEPT { diff --git a/sprout/breed/breed_fwd.hpp b/sprout/breed/breed_fwd.hpp index b41e09ef..5f137e94 100644 --- a/sprout/breed/breed_fwd.hpp +++ b/sprout/breed/breed_fwd.hpp @@ -540,17 +540,17 @@ namespace sprout { struct reverse; } // namespace functional - typedef functional::flatten _flatten; - typedef functional::make_pair _make_pair; - typedef functional::first _first; - typedef functional::second _second; - typedef functional::pop_front _at; - typedef functional::pop_front _pop_front; - typedef functional::push_front _push_front; - typedef functional::pop_back _pop_back; - typedef functional::push_back _push_back; - typedef functional::reverse _reverse; - typedef functional::eval _eval; + typedef functional::flatten _flatten; + typedef functional::make_pair _make_pair; + typedef functional::first _first; + typedef functional::second _second; + typedef functional::pop_front _at; + typedef functional::pop_front _pop_front; + typedef functional::push_front _push_front; + typedef functional::pop_back _pop_back; + typedef functional::push_back _push_back; + typedef functional::reverse _reverse; + typedef functional::eval _eval; struct _deep_copy; typedef sprout::breed::functional::make_expr _make_terminal; @@ -690,9 +690,9 @@ namespace sprout { typedef _child_c<0> _child0; typedef _child_c<1> _child1; - typedef _child0 _child; - typedef _child0 _left; - typedef _child1 _right; + typedef _child0 _child; + typedef _child0 _left; + typedef _child1 _right; typedef _child_c<2> _child2; diff --git a/sprout/compressed_pair.hpp b/sprout/compressed_pair.hpp index 05b2ec88..56a69e08 100644 --- a/sprout/compressed_pair.hpp +++ b/sprout/compressed_pair.hpp @@ -431,4 +431,4 @@ namespace sprout { } } // namespace sprout -#endif // #ifndef SPROUT_COMPRESSED_PAIR_HPP +#endif // #ifndef SPROUT_COMPRESSED_PAIR_HPP diff --git a/sprout/container/container_traits.hpp b/sprout/container/container_traits.hpp index 5f4d53eb..f9a2a0c8 100644 --- a/sprout/container/container_traits.hpp +++ b/sprout/container/container_traits.hpp @@ -445,7 +445,7 @@ namespace sprout { typedef T* pointer; typedef T const* const_pointer; public: - SPROUT_STATIC_CONSTEXPR size_type static_size = N ; + SPROUT_STATIC_CONSTEXPR size_type static_size = N; public: static SPROUT_CONSTEXPR size_type fixed_size() SPROUT_NOEXCEPT { diff --git a/sprout/cstdlib/abs.hpp b/sprout/cstdlib/abs.hpp index 2976eb71..16e51fbf 100644 --- a/sprout/cstdlib/abs.hpp +++ b/sprout/cstdlib/abs.hpp @@ -7,7 +7,7 @@ namespace sprout { // Copyright (C) 2011 RiSK (sscrisk) - // 7.20.6.1 abs,labs,及び llabs 関数 + // 7.20.6.1 abs,labs,及び llabs 関数 inline SPROUT_CONSTEXPR int abs(int j) { return j < 0 ? -j : j; diff --git a/sprout/cstdlib/div.hpp b/sprout/cstdlib/div.hpp index df0934c9..4af918fa 100644 --- a/sprout/cstdlib/div.hpp +++ b/sprout/cstdlib/div.hpp @@ -56,7 +56,7 @@ namespace sprout { } } // namespace detail - // 7.20.6.2 div,ldiv,及び lldiv 関数 + // 7.20.6.2 div,ldiv,及び lldiv 関数 inline SPROUT_CONSTEXPR std::div_t div(int numer, int denom) { return sprout::detail::div_impl(numer, denom); diff --git a/sprout/cstring/memchr.hpp b/sprout/cstring/memchr.hpp index 81ff7976..cc44da09 100644 --- a/sprout/cstring/memchr.hpp +++ b/sprout/cstring/memchr.hpp @@ -22,7 +22,7 @@ namespace sprout { } } // namespace detail - // 7.21.5.1 memchr 関数 + // 7.21.5.1 memchr 関数 // // recursion depth: // O(log N) diff --git a/sprout/cstring/memcmp.hpp b/sprout/cstring/memcmp.hpp index dc515505..a38215ac 100644 --- a/sprout/cstring/memcmp.hpp +++ b/sprout/cstring/memcmp.hpp @@ -7,7 +7,7 @@ #include namespace sprout { - // 7.21.4.1 memcmp 関数 + // 7.21.4.1 memcmp 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strchr.hpp b/sprout/cstring/strchr.hpp index 9fe0fcbf..c1678605 100644 --- a/sprout/cstring/strchr.hpp +++ b/sprout/cstring/strchr.hpp @@ -56,7 +56,7 @@ namespace sprout { } // namespace detail - // 7.21.5.2 strchr 関数 + // 7.21.5.2 strchr 関数 // // recursion depth: // O(log N) diff --git a/sprout/cstring/strcmp.hpp b/sprout/cstring/strcmp.hpp index 3d053cab..7dc5e695 100644 --- a/sprout/cstring/strcmp.hpp +++ b/sprout/cstring/strcmp.hpp @@ -69,7 +69,7 @@ namespace sprout { } } // namespace detail - // 7.21.4.2 strcmp 関数 + // 7.21.4.2 strcmp 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strcoll.hpp b/sprout/cstring/strcoll.hpp index 344922a7..1ce78786 100644 --- a/sprout/cstring/strcoll.hpp +++ b/sprout/cstring/strcoll.hpp @@ -7,7 +7,7 @@ #include namespace sprout { - // 7.21.4.3 strcoll 関数 + // 7.21.4.3 strcoll 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strcspn.hpp b/sprout/cstring/strcspn.hpp index 3c340026..c096ce96 100644 --- a/sprout/cstring/strcspn.hpp +++ b/sprout/cstring/strcspn.hpp @@ -59,7 +59,7 @@ namespace sprout { } } // namespace detail - // 7.21.5.3 strcspn 関数 + // 7.21.5.3 strcspn 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strlen.hpp b/sprout/cstring/strlen.hpp index 00afde97..ca4e9488 100644 --- a/sprout/cstring/strlen.hpp +++ b/sprout/cstring/strlen.hpp @@ -57,7 +57,7 @@ namespace sprout { } } // namespace detail - // 7.21.6.3 strlen 関数 + // 7.21.6.3 strlen 関数 // // recursion depth: // O(log N) diff --git a/sprout/cstring/strncmp.hpp b/sprout/cstring/strncmp.hpp index 5528dddd..c4f6825d 100644 --- a/sprout/cstring/strncmp.hpp +++ b/sprout/cstring/strncmp.hpp @@ -9,7 +9,7 @@ #include namespace sprout { - // 7.21.4.4 strncmp 関数 + // 7.21.4.4 strncmp 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strpbrk.hpp b/sprout/cstring/strpbrk.hpp index 6d0fd199..42605f6b 100644 --- a/sprout/cstring/strpbrk.hpp +++ b/sprout/cstring/strpbrk.hpp @@ -60,7 +60,7 @@ namespace sprout { } } // namespace detail - // 7.21.5.4 strpbrk 関数 + // 7.21.5.4 strpbrk 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strrchr.hpp b/sprout/cstring/strrchr.hpp index 56b6cb35..2978c2f3 100644 --- a/sprout/cstring/strrchr.hpp +++ b/sprout/cstring/strrchr.hpp @@ -67,7 +67,7 @@ namespace sprout { } } // namespace detail - // 7.21.5.5 strrchr 関数 + // 7.21.5.5 strrchr 関数 // // recursion depth: // O(log N) diff --git a/sprout/cstring/strspn.hpp b/sprout/cstring/strspn.hpp index 79be259c..16e34a47 100644 --- a/sprout/cstring/strspn.hpp +++ b/sprout/cstring/strspn.hpp @@ -59,7 +59,7 @@ namespace sprout { } } // namespace detail - // 7.21.5.6 strspn 関数 + // 7.21.5.6 strspn 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/cstring/strstr.hpp b/sprout/cstring/strstr.hpp index b67542f5..fab1e583 100644 --- a/sprout/cstring/strstr.hpp +++ b/sprout/cstring/strstr.hpp @@ -121,7 +121,7 @@ namespace sprout { } } // namespace detail - // 7.21.5.7 strstr 関数 + // 7.21.5.7 strstr 関数 // // recursion depth: // O(log(N1+N2)) diff --git a/sprout/ctype/ascii.hpp b/sprout/ctype/ascii.hpp index 66f36b89..894743ba 100644 --- a/sprout/ctype/ascii.hpp +++ b/sprout/ctype/ascii.hpp @@ -24,134 +24,134 @@ namespace sprout { SPROUT_STATIC_CONSTEXPR std::size_t xdigit = 1 << 10; SPROUT_STATIC_CONSTEXPR std::size_t table_size = 0x80; SPROUT_STATIC_CONSTEXPR std::size_t table[sprout::ascii::detail::table_size] = { - /* 0x0 NUL */ sprout::ascii::detail::cntrl, - /* 0x1 SOH */ sprout::ascii::detail::cntrl, - /* 0x2 STX */ sprout::ascii::detail::cntrl, - /* 0x3 ETX */ sprout::ascii::detail::cntrl, - /* 0x4 EOT */ sprout::ascii::detail::cntrl, - /* 0x5 ENQ */ sprout::ascii::detail::cntrl, - /* 0x6 ACK */ sprout::ascii::detail::cntrl, - /* 0x7 BEL */ sprout::ascii::detail::cntrl, - /* 0x8 BS */ sprout::ascii::detail::cntrl, - /* 0x9 HT */ sprout::ascii::detail::blank | sprout::ascii::detail::cntrl | sprout::ascii::detail::space, - /* 0xA LF */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, - /* 0xB VT */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, - /* 0xC FF */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, - /* 0xD CR */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, - /* 0xE SO */ sprout::ascii::detail::cntrl, - /* 0xF SI */ sprout::ascii::detail::cntrl, - /* 0x10 DLE */ sprout::ascii::detail::cntrl, - /* 0x11 DC1 */ sprout::ascii::detail::cntrl, - /* 0x12 DC2 */ sprout::ascii::detail::cntrl, - /* 0x13 DC3 */ sprout::ascii::detail::cntrl, - /* 0x14 DC4 */ sprout::ascii::detail::cntrl, - /* 0x15 NAK */ sprout::ascii::detail::cntrl, - /* 0x16 SYN */ sprout::ascii::detail::cntrl, - /* 0x17 ETB */ sprout::ascii::detail::cntrl, - /* 0x18 CAN */ sprout::ascii::detail::cntrl, - /* 0x19 EM */ sprout::ascii::detail::cntrl, - /* 0x1A SUB */ sprout::ascii::detail::cntrl, - /* 0x1B ESC */ sprout::ascii::detail::cntrl, - /* 0x1C FS */ sprout::ascii::detail::cntrl, - /* 0x1D GS */ sprout::ascii::detail::cntrl, - /* 0x1E RS */ sprout::ascii::detail::cntrl, - /* 0x1F US */ sprout::ascii::detail::cntrl, - /* 0x20 ' ' */ sprout::ascii::detail::blank | sprout::ascii::detail::print | sprout::ascii::detail::space, - /* 0x21 '!' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x22 '"' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x23 '#' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x24 '$' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x25 '%' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x26 '&' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x27 ''' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x28 '(' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x29 ')' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x2A '*' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x2B '+' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x2C ',' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x2D '-' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x2E '.' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x2F '/' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x30 '0' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x31 '1' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x32 '2' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x33 '3' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x34 '4' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x35 '5' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x36 '6' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x37 '7' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x38 '8' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x39 '9' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x3A ':' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x3B ';' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x3C '<' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x3D '=' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x3E '>' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x3F '?' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x40 '@' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x41 'A' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, - /* 0x42 'B' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, - /* 0x43 'C' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, - /* 0x44 'D' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, - /* 0x45 'E' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, - /* 0x46 'F' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, - /* 0x47 'G' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x48 'H' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x49 'I' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x4A 'J' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x4B 'K' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x4C 'L' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x4D 'M' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x4E 'N' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x4F 'O' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x50 'P' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x51 'Q' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x52 'R' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x53 'S' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x54 'T' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x55 'U' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x56 'V' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x57 'W' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x58 'X' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x59 'Y' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x5A 'Z' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, - /* 0x5B '[' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x5C '\' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x5D ']' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x5E '^' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x5F '_' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x60 '`' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x61 'a' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x62 'b' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x63 'c' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x64 'd' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x65 'e' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x66 'f' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, - /* 0x67 'g' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x68 'h' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x69 'i' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x6A 'j' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x6B 'k' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x6C 'l' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x6D 'm' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x6E 'n' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x6F 'o' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x70 'p' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x71 'q' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x72 'r' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x73 's' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x74 't' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x75 'u' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x76 'v' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x77 'w' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x78 'x' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x79 'y' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x7A 'z' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, - /* 0x7B '{' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x7C '|' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x7D '}' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x7E '~' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, - /* 0x7F DEL */ sprout::ascii::detail::cntrl + /* 0x00 NUL */ sprout::ascii::detail::cntrl, + /* 0x01 SOH */ sprout::ascii::detail::cntrl, + /* 0x02 STX */ sprout::ascii::detail::cntrl, + /* 0x03 ETX */ sprout::ascii::detail::cntrl, + /* 0x04 EOT */ sprout::ascii::detail::cntrl, + /* 0x05 ENQ */ sprout::ascii::detail::cntrl, + /* 0x06 ACK */ sprout::ascii::detail::cntrl, + /* 0x07 BEL */ sprout::ascii::detail::cntrl, + /* 0x08 BS */ sprout::ascii::detail::cntrl, + /* 0x09 HT */ sprout::ascii::detail::blank | sprout::ascii::detail::cntrl | sprout::ascii::detail::space, + /* 0x0A LF */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, + /* 0x0B VT */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, + /* 0x0C FF */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, + /* 0x0D CR */ sprout::ascii::detail::cntrl | sprout::ascii::detail::space, + /* 0x0E SO */ sprout::ascii::detail::cntrl, + /* 0x0F SI */ sprout::ascii::detail::cntrl, + /* 0x10 DLE */ sprout::ascii::detail::cntrl, + /* 0x11 DC1 */ sprout::ascii::detail::cntrl, + /* 0x12 DC2 */ sprout::ascii::detail::cntrl, + /* 0x13 DC3 */ sprout::ascii::detail::cntrl, + /* 0x14 DC4 */ sprout::ascii::detail::cntrl, + /* 0x15 NAK */ sprout::ascii::detail::cntrl, + /* 0x16 SYN */ sprout::ascii::detail::cntrl, + /* 0x17 ETB */ sprout::ascii::detail::cntrl, + /* 0x18 CAN */ sprout::ascii::detail::cntrl, + /* 0x19 EM */ sprout::ascii::detail::cntrl, + /* 0x1A SUB */ sprout::ascii::detail::cntrl, + /* 0x1B ESC */ sprout::ascii::detail::cntrl, + /* 0x1C FS */ sprout::ascii::detail::cntrl, + /* 0x1D GS */ sprout::ascii::detail::cntrl, + /* 0x1E RS */ sprout::ascii::detail::cntrl, + /* 0x1F US */ sprout::ascii::detail::cntrl, + /* 0x20 ' ' */ sprout::ascii::detail::blank | sprout::ascii::detail::print | sprout::ascii::detail::space, + /* 0x21 '!' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x22 '"' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x23 '#' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x24 '$' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x25 '%' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x26 '&' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x27 ''' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x28 '(' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x29 ')' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x2A '*' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x2B '+' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x2C ',' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x2D '-' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x2E '.' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x2F '/' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x30 '0' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x31 '1' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x32 '2' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x33 '3' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x34 '4' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x35 '5' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x36 '6' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x37 '7' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x38 '8' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x39 '9' */ sprout::ascii::detail::digit | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x3A ':' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x3B ';' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x3C '<' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x3D '=' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x3E '>' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x3F '?' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x40 '@' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x41 'A' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, + /* 0x42 'B' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, + /* 0x43 'C' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, + /* 0x44 'D' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, + /* 0x45 'E' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, + /* 0x46 'F' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper | sprout::ascii::detail::xdigit, + /* 0x47 'G' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x48 'H' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x49 'I' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x4A 'J' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x4B 'K' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x4C 'L' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x4D 'M' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x4E 'N' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x4F 'O' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x50 'P' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x51 'Q' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x52 'R' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x53 'S' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x54 'T' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x55 'U' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x56 'V' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x57 'W' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x58 'X' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x59 'Y' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x5A 'Z' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::upper, + /* 0x5B '[' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x5C '\' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x5D ']' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x5E '^' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x5F '_' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x60 '`' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x61 'a' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x62 'b' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x63 'c' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x64 'd' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x65 'e' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x66 'f' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print | sprout::ascii::detail::xdigit, + /* 0x67 'g' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x68 'h' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x69 'i' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x6A 'j' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x6B 'k' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x6C 'l' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x6D 'm' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x6E 'n' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x6F 'o' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x70 'p' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x71 'q' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x72 'r' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x73 's' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x74 't' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x75 'u' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x76 'v' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x77 'w' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x78 'x' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x79 'y' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x7A 'z' */ sprout::ascii::detail::alpha | sprout::ascii::detail::graph | sprout::ascii::detail::lower | sprout::ascii::detail::print, + /* 0x7B '{' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x7C '|' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x7D '}' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x7E '~' */ sprout::ascii::detail::graph | sprout::ascii::detail::print | sprout::ascii::detail::punct, + /* 0x7F DEL */ sprout::ascii::detail::cntrl }; inline SPROUT_CONSTEXPR std::size_t get_value(char c) { return static_cast(c) < sprout::ascii::detail::table_size diff --git a/sprout/current_function.hpp b/sprout/current_function.hpp index 02f450fa..5fb0bd86 100644 --- a/sprout/current_function.hpp +++ b/sprout/current_function.hpp @@ -38,6 +38,6 @@ namespace sprout { #endif } } // namespace detail -} // namespace sprout +} // namespace sprout #endif // #ifndef SPROUT_CURRENT_FUNCTION_HPP diff --git a/sprout/detail/algorithm_min_max.hpp b/sprout/detail/algorithm_min_max.hpp index 12780afb..1d710ca6 100644 --- a/sprout/detail/algorithm_min_max.hpp +++ b/sprout/detail/algorithm_min_max.hpp @@ -5,4 +5,4 @@ #include #include -#endif // #ifndef SPROUT_DETAIL_ALGORITHM_MIN_MAX_HPP +#endif // #ifndef SPROUT_DETAIL_ALGORITHM_MIN_MAX_HPP diff --git a/sprout/detail/call_traits.hpp b/sprout/detail/call_traits.hpp index 690e4a98..61cee12b 100644 --- a/sprout/detail/call_traits.hpp +++ b/sprout/detail/call_traits.hpp @@ -55,4 +55,4 @@ namespace sprout { } // namespace detail } // namespace sprout -#endif // #ifndef SPROUT_DETAIL_CALL_TRAITS_HPP +#endif // #ifndef SPROUT_DETAIL_CALL_TRAITS_HPP diff --git a/sprout/detail/integer.hpp b/sprout/detail/integer.hpp index 8435dac6..89bb5467 100644 --- a/sprout/detail/integer.hpp +++ b/sprout/detail/integer.hpp @@ -62,11 +62,11 @@ namespace sprout { struct exact_unsigned_base_helper {}; template<> - struct exact_signed_base_helper { + struct exact_signed_base_helper { typedef signed char exact; }; template<> - struct exact_unsigned_base_helper { + struct exact_unsigned_base_helper { typedef unsigned char exact; }; #if USHRT_MAX != UCHAR_MAX @@ -178,4 +178,4 @@ namespace sprout { } // namespace detail } // namespace sprout -#endif // #ifndef SPROUT_DETAIL_INTEGER_HPP +#endif // #ifndef SPROUT_DETAIL_INTEGER_HPP diff --git a/sprout/detail/integer/integer_mask.hpp b/sprout/detail/integer/integer_mask.hpp index 5d0a5988..e9a8989c 100644 --- a/sprout/detail/integer/integer_mask.hpp +++ b/sprout/detail/integer/integer_mask.hpp @@ -62,4 +62,4 @@ namespace sprout { } // namespace detail } // namespace sprout -#endif // #ifndef SPROUT_DETAIL_INTEGER_INTEGER_MASK_HPP +#endif // #ifndef SPROUT_DETAIL_INTEGER_INTEGER_MASK_HPP diff --git a/sprout/detail/integer/static_log2.hpp b/sprout/detail/integer/static_log2.hpp index 06fc2587..99827148 100644 --- a/sprout/detail/integer/static_log2.hpp +++ b/sprout/detail/integer/static_log2.hpp @@ -59,4 +59,4 @@ namespace sprout { } // namespace detail } // namespace sprout -#endif // #ifndef SPROUT_DETAIL_INTEGER_STATIC_LOG2_HPP +#endif // #ifndef SPROUT_DETAIL_INTEGER_STATIC_LOG2_HPP diff --git a/sprout/detail/str.hpp b/sprout/detail/str.hpp index cb3ee8ef..d68e3ed7 100644 --- a/sprout/detail/str.hpp +++ b/sprout/detail/str.hpp @@ -23,4 +23,4 @@ namespace sprout { } // namespace detail } // namespace sprout -#endif // #ifndef SPROUT_DETAIL_STR_HPP +#endif // #ifndef SPROUT_DETAIL_STR_HPP diff --git a/sprout/io.hpp b/sprout/io.hpp index 2dc18b91..cc28bc63 100644 --- a/sprout/io.hpp +++ b/sprout/io.hpp @@ -510,7 +510,7 @@ namespace sprout { }; // - // root_t + // root_t // typedef sprout::io::format_expression< sprout::io::root_expression, diff --git a/sprout/iterator/generator_iterator.hpp b/sprout/iterator/generator_iterator.hpp index 25890ad5..e93cd8c5 100644 --- a/sprout/iterator/generator_iterator.hpp +++ b/sprout/iterator/generator_iterator.hpp @@ -146,4 +146,4 @@ namespace sprout { } } // namespace sprout -#endif // #ifndef SPROUT_ITERATOR_GENERATOR_ITERATOR_HPP +#endif // #ifndef SPROUT_ITERATOR_GENERATOR_ITERATOR_HPP diff --git a/sprout/math/common_factor.hpp b/sprout/math/common_factor.hpp index 70d3c494..a62c950d 100644 --- a/sprout/math/common_factor.hpp +++ b/sprout/math/common_factor.hpp @@ -4,4 +4,4 @@ #include #include -#endif // SPROUT_MATH_COMMON_FACTOR_HPP +#endif // SPROUT_MATH_COMMON_FACTOR_HPP diff --git a/sprout/math/frac_int.hpp b/sprout/math/frac_int.hpp index 50eb1f49..151c67d8 100644 --- a/sprout/math/frac_int.hpp +++ b/sprout/math/frac_int.hpp @@ -16,7 +16,7 @@ namespace sprout { inline SPROUT_CONSTEXPR sprout::pair frac_int_impl(T x, T ipart) { typedef sprout::pair type; - return x == std::numeric_limits::infinity() || x == -std::numeric_limits::infinity() ? type(T(0), ipart) + return x == std::numeric_limits::infinity() || x == -std::numeric_limits::infinity() ? type(T(0), ipart) : x == std::numeric_limits::quiet_NaN() ? type(std::numeric_limits::quiet_NaN(), ipart) : type(x - ipart, ipart) ; diff --git a/sprout/math/gcd.hpp b/sprout/math/gcd.hpp index db5c6801..fbbf1591 100644 --- a/sprout/math/gcd.hpp +++ b/sprout/math/gcd.hpp @@ -210,7 +210,7 @@ namespace sprout { gcd_optimal(T const& a, T const& b) { return sprout::math::detail::gcd_optimal_evaluator().operator()(a, b); } - } // namespace detail + } // namespace detail // // gcd_evaluator @@ -245,7 +245,7 @@ namespace sprout { gcd(IntType const& a, IntType const& b) { return sprout::math::gcd_evaluator().operator()(a, b); } - } // namespace math -} // namespace boost + } // namespace math +} // namespace boost -#endif // SPROUT_MATH_GCD_HPP +#endif // #ifndef SPROUT_MATH_GCD_HPP diff --git a/sprout/math/lcm.hpp b/sprout/math/lcm.hpp index a40eb1f7..a421593c 100644 --- a/sprout/math/lcm.hpp +++ b/sprout/math/lcm.hpp @@ -69,7 +69,7 @@ namespace sprout { lcm_optimal(T const& a, T const& b) { return sprout::math::detail::lcm_optimal_evaluator().operator()(a, b); } - } // namespace detail + } // namespace detail // // lcm_evaluator @@ -104,7 +104,7 @@ namespace sprout { lcm(IntType const& a, IntType const& b) { return sprout::math::lcm_evaluator().operator()(a, b); } - } // namespace math -} // namespace boost + } // namespace math +} // namespace boost -#endif // SPROUT_MATH_LCM_HPP +#endif // #ifndef SPROUT_MATH_LCM_HPP diff --git a/sprout/optional.hpp b/sprout/optional.hpp index 2597d707..bf137694 100644 --- a/sprout/optional.hpp +++ b/sprout/optional.hpp @@ -10,4 +10,4 @@ #include #include -#endif // #ifndef SPROUT_OPTIONAL_HPP +#endif // #ifndef SPROUT_OPTIONAL_HPP diff --git a/sprout/preprocessor.hpp b/sprout/preprocessor.hpp index 355738bc..27b6599c 100644 --- a/sprout/preprocessor.hpp +++ b/sprout/preprocessor.hpp @@ -8,4 +8,4 @@ #include #include -#endif // #ifndef SPROUT_PREPROCESSOR_HPP +#endif // #ifndef SPROUT_PREPROCESSOR_HPP diff --git a/sprout/random.hpp b/sprout/random.hpp index a47897d7..9b635c0e 100644 --- a/sprout/random.hpp +++ b/sprout/random.hpp @@ -10,4 +10,4 @@ #include #include -#endif // #ifndef SPROUT_RANDOM_HPP +#endif // #ifndef SPROUT_RANDOM_HPP diff --git a/sprout/random/additive_combine.hpp b/sprout/random/additive_combine.hpp index fc8fcad7..57eb5ba5 100644 --- a/sprout/random/additive_combine.hpp +++ b/sprout/random/additive_combine.hpp @@ -115,10 +115,10 @@ namespace sprout { sprout::random::linear_congruential_engine, sprout::random::linear_congruential_engine > ecuyer1988; - } // namespace random + } // namespace random using sprout::random::additive_combine_engine; using sprout::random::ecuyer1988; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_ADDITIVE_COMBINE_HPP +#endif // #ifndef SPROUT_RANDOM_ADDITIVE_COMBINE_HPP diff --git a/sprout/random/bernoulli_distribution.hpp b/sprout/random/bernoulli_distribution.hpp index 39e667d9..a63a846e 100644 --- a/sprout/random/bernoulli_distribution.hpp +++ b/sprout/random/bernoulli_distribution.hpp @@ -144,4 +144,4 @@ namespace sprout { using sprout::random::bernoulli_distribution; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_BERNOULLI_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_BERNOULLI_DISTRIBUTION_HPP diff --git a/sprout/random/binomial_distribution.hpp b/sprout/random/binomial_distribution.hpp index 567c6441..04818b9c 100644 --- a/sprout/random/binomial_distribution.hpp +++ b/sprout/random/binomial_distribution.hpp @@ -683,4 +683,4 @@ namespace sprout { using sprout::random::binomial_distribution; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_BINOMIAL_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_BINOMIAL_DISTRIBUTION_HPP diff --git a/sprout/random/default_random_engine.hpp b/sprout/random/default_random_engine.hpp index c243aa45..4a612d4a 100644 --- a/sprout/random/default_random_engine.hpp +++ b/sprout/random/default_random_engine.hpp @@ -10,9 +10,9 @@ namespace sprout { // default_random_engine // typedef sprout::random::minstd_rand0 default_random_engine; - } // namespace random + } // namespace random using sprout::random::default_random_engine; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_DEFAULT_RANDOM_ENGINE_HPP +#endif // #ifndef SPROUT_RANDOM_DEFAULT_RANDOM_ENGINE_HPP diff --git a/sprout/random/detail/const_mod.hpp b/sprout/random/detail/const_mod.hpp index 00132241..146c83e5 100644 --- a/sprout/random/detail/const_mod.hpp +++ b/sprout/random/detail/const_mod.hpp @@ -204,8 +204,8 @@ namespace sprout { private: const_mod() SPROUT_DELETED_FUNCTION_DECL }; - } // namespace detail - } // namespace random -} // namespace sprout + } // namespace detail + } // namespace random +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_DETAIL_CONST_MOD_HPP +#endif // #ifndef SPROUT_RANDOM_DETAIL_CONST_MOD_HPP diff --git a/sprout/random/detail/generator_bits.hpp b/sprout/random/detail/generator_bits.hpp index 15feebdd..4edfe93b 100644 --- a/sprout/random/detail/generator_bits.hpp +++ b/sprout/random/detail/generator_bits.hpp @@ -19,4 +19,4 @@ namespace sprout { } // namespace random } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_DETAIL_GENERATOR_BITS_HPP +#endif // #ifndef SPROUT_RANDOM_DETAIL_GENERATOR_BITS_HPP diff --git a/sprout/random/detail/ptr_helper.hpp b/sprout/random/detail/ptr_helper.hpp index 45e7c6fa..928ea818 100644 --- a/sprout/random/detail/ptr_helper.hpp +++ b/sprout/random/detail/ptr_helper.hpp @@ -69,4 +69,4 @@ namespace sprout { } // namespace random } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_DETAIL_PTR_HELPER_HPP +#endif // #ifndef SPROUT_RANDOM_DETAIL_PTR_HELPER_HPP diff --git a/sprout/random/detail/signed_unsigned_tools.hpp b/sprout/random/detail/signed_unsigned_tools.hpp index 71a030dc..4785772b 100644 --- a/sprout/random/detail/signed_unsigned_tools.hpp +++ b/sprout/random/detail/signed_unsigned_tools.hpp @@ -55,8 +55,8 @@ namespace sprout { ; } }; - } // namespace detail - } // namespace random -} // namespace sprout + } // namespace detail + } // namespace random +} // namespace sprout -#endif // SPROUT_RANDOM_DETAIL_SIGNED_UNSIGNED_TOOLS_HPP +#endif // SPROUT_RANDOM_DETAIL_SIGNED_UNSIGNED_TOOLS_HPP diff --git a/sprout/random/detail/uniform_int_float.hpp b/sprout/random/detail/uniform_int_float.hpp index 12fd0560..77dd893e 100644 --- a/sprout/random/detail/uniform_int_float.hpp +++ b/sprout/random/detail/uniform_int_float.hpp @@ -65,8 +65,8 @@ namespace sprout { return generate(rng_()); } }; - } // namespace detail - } // namespace random -} // namespace sprout + } // namespace detail + } // namespace random +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_DETAIL_UNIFORM_INT_FLOAT_HPP +#endif // #ifndef SPROUT_RANDOM_DETAIL_UNIFORM_INT_FLOAT_HPP diff --git a/sprout/random/distribution.hpp b/sprout/random/distribution.hpp index 89f6d922..2518df7e 100644 --- a/sprout/random/distribution.hpp +++ b/sprout/random/distribution.hpp @@ -11,4 +11,4 @@ #include #include -#endif // #ifndef SPROUT_RANDOM_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_DISTRIBUTION_HPP diff --git a/sprout/random/engine.hpp b/sprout/random/engine.hpp index 8918defa..fddc1f2b 100644 --- a/sprout/random/engine.hpp +++ b/sprout/random/engine.hpp @@ -12,4 +12,4 @@ #include #include -#endif // #ifndef SPROUT_RANDOM_ENGINE_HPP +#endif // #ifndef SPROUT_RANDOM_ENGINE_HPP diff --git a/sprout/random/geometric_distribution.hpp b/sprout/random/geometric_distribution.hpp index 088314cb..9bcedbe6 100644 --- a/sprout/random/geometric_distribution.hpp +++ b/sprout/random/geometric_distribution.hpp @@ -157,4 +157,4 @@ namespace sprout { using sprout::random::geometric_distribution; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_GEOMETRIC_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_GEOMETRIC_DISTRIBUTION_HPP diff --git a/sprout/random/inversive_congruential.hpp b/sprout/random/inversive_congruential.hpp index bce277cf..7bee173f 100644 --- a/sprout/random/inversive_congruential.hpp +++ b/sprout/random/inversive_congruential.hpp @@ -120,10 +120,10 @@ namespace sprout { // hellekalek1995 // typedef sprout::random::inversive_congruential_engine hellekalek1995; - } // namespace random + } // namespace random using sprout::random::inversive_congruential_engine; using sprout::random::hellekalek1995; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_INVERSIVE_CONGRUENTIAL_HPP +#endif // #ifndef SPROUT_RANDOM_INVERSIVE_CONGRUENTIAL_HPP diff --git a/sprout/random/iterator.hpp b/sprout/random/iterator.hpp index 968477e7..2ef5a463 100644 --- a/sprout/random/iterator.hpp +++ b/sprout/random/iterator.hpp @@ -64,4 +64,4 @@ namespace sprout { } // namespace random } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_ITERATOR_HPP +#endif // #ifndef SPROUT_RANDOM_ITERATOR_HPP diff --git a/sprout/random/linear_congruential.hpp b/sprout/random/linear_congruential.hpp index d35d8585..ff84dce5 100644 --- a/sprout/random/linear_congruential.hpp +++ b/sprout/random/linear_congruential.hpp @@ -205,12 +205,12 @@ namespace sprout { return lhs << rhs.lcf_; } }; - } // namespace random + } // namespace random using sprout::random::linear_congruential_engine; using sprout::random::minstd_rand0; using sprout::random::minstd_rand; using sprout::random::rand48; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_LINEAR_CONGRUENTIAL_HPP +#endif // #ifndef SPROUT_RANDOM_LINEAR_CONGRUENTIAL_HPP diff --git a/sprout/random/linear_feedback_shift.hpp b/sprout/random/linear_feedback_shift.hpp index 59b2266e..0081b285 100644 --- a/sprout/random/linear_feedback_shift.hpp +++ b/sprout/random/linear_feedback_shift.hpp @@ -107,9 +107,9 @@ namespace sprout { SPROUT_CONSTEXPR_OR_CONST int sprout::random::linear_feedback_shift_engine::step_size; template SPROUT_CONSTEXPR_OR_CONST UIntType sprout::random::linear_feedback_shift_engine::default_seed; - } // namespace random + } // namespace random using sprout::random::linear_feedback_shift_engine; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_LINEAR_FEEDBACK_SHIFT_HPP +#endif // #ifndef SPROUT_RANDOM_LINEAR_FEEDBACK_SHIFT_HPP diff --git a/sprout/random/mersenne_twister.hpp b/sprout/random/mersenne_twister.hpp index c0a3df9c..c071cfc5 100644 --- a/sprout/random/mersenne_twister.hpp +++ b/sprout/random/mersenne_twister.hpp @@ -604,4 +604,4 @@ namespace sprout { using sprout::random::mt19937_64; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_MERSENNE_TWISTER_HPP +#endif // #ifndef SPROUT_RANDOM_MERSENNE_TWISTER_HPP diff --git a/sprout/random/normal_distribution.hpp b/sprout/random/normal_distribution.hpp index ce0db648..5728693b 100644 --- a/sprout/random/normal_distribution.hpp +++ b/sprout/random/normal_distribution.hpp @@ -246,4 +246,4 @@ namespace sprout { using sprout::random::normal_distribution; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_NORMAL_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_NORMAL_DISTRIBUTION_HPP diff --git a/sprout/random/random_result.hpp b/sprout/random/random_result.hpp index da7b2baf..6fd0e89c 100644 --- a/sprout/random/random_result.hpp +++ b/sprout/random/random_result.hpp @@ -317,4 +317,4 @@ namespace sprout { using sprout::random::random_result; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_RANDOM_RESULT_HPP +#endif // #ifndef SPROUT_RANDOM_RANDOM_RESULT_HPP diff --git a/sprout/random/range.hpp b/sprout/random/range.hpp index e7a56ec5..e66b02f1 100644 --- a/sprout/random/range.hpp +++ b/sprout/random/range.hpp @@ -45,4 +45,4 @@ namespace sprout { } // namespace random } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_RANGE_HPP +#endif // #ifndef SPROUT_RANDOM_RANGE_HPP diff --git a/sprout/random/shuffle_order.hpp b/sprout/random/shuffle_order.hpp index 9e6a364d..412b4ec2 100644 --- a/sprout/random/shuffle_order.hpp +++ b/sprout/random/shuffle_order.hpp @@ -192,11 +192,11 @@ namespace sprout { // kreutzer1986 // typedef sprout::random::shuffle_order_engine, 97> kreutzer1986; - } // namespace random + } // namespace random using sprout::random::shuffle_order_engine; using sprout::random::knuth_b; using sprout::random::kreutzer1986; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_SHUFFLE_ORDER_HPP +#endif // #ifndef SPROUT_RANDOM_SHUFFLE_ORDER_HPP diff --git a/sprout/random/taus88.hpp b/sprout/random/taus88.hpp index ef8e8b1d..ddd21bf7 100644 --- a/sprout/random/taus88.hpp +++ b/sprout/random/taus88.hpp @@ -22,9 +22,9 @@ namespace sprout { sprout::random::linear_feedback_shift_engine, 0 > taus88; - } // namespace random + } // namespace random using sprout::random::taus88; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_TAUS88_HPP +#endif // #ifndef SPROUT_RANDOM_TAUS88_HPP diff --git a/sprout/random/uniform_01.hpp b/sprout/random/uniform_01.hpp index 7fab14c7..36247eea 100644 --- a/sprout/random/uniform_01.hpp +++ b/sprout/random/uniform_01.hpp @@ -161,4 +161,4 @@ namespace sprout { using sprout::random::uniform_01; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_UNIFORM_01_HPP +#endif // #ifndef SPROUT_RANDOM_UNIFORM_01_HPP diff --git a/sprout/random/uniform_int_distribution.hpp b/sprout/random/uniform_int_distribution.hpp index 59b200d6..69f84777 100644 --- a/sprout/random/uniform_int_distribution.hpp +++ b/sprout/random/uniform_int_distribution.hpp @@ -426,4 +426,4 @@ namespace sprout { using sprout::random::uniform_int_distribution; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_UNIFORM_INT_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_UNIFORM_INT_DISTRIBUTION_HPP diff --git a/sprout/random/uniform_real_distribution.hpp b/sprout/random/uniform_real_distribution.hpp index 4f9bdfce..f2506fcf 100644 --- a/sprout/random/uniform_real_distribution.hpp +++ b/sprout/random/uniform_real_distribution.hpp @@ -313,4 +313,4 @@ namespace sprout { using sprout::random::uniform_real_distribution; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_UNIFORM_REAL_DISTRIBUTION_HPP +#endif // #ifndef SPROUT_RANDOM_UNIFORM_REAL_DISTRIBUTION_HPP diff --git a/sprout/random/uniform_smallint.hpp b/sprout/random/uniform_smallint.hpp index 30af0116..0a0470d3 100644 --- a/sprout/random/uniform_smallint.hpp +++ b/sprout/random/uniform_smallint.hpp @@ -256,4 +256,4 @@ namespace sprout { using sprout::random::uniform_smallint; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_UNIFORM_SMALLINT_HPP +#endif // #ifndef SPROUT_RANDOM_UNIFORM_SMALLINT_HPP diff --git a/sprout/random/variate_generator.hpp b/sprout/random/variate_generator.hpp index 698d925b..44397892 100644 --- a/sprout/random/variate_generator.hpp +++ b/sprout/random/variate_generator.hpp @@ -86,4 +86,4 @@ namespace sprout { using sprout::random::variate_generator; } // namespace sprout -#endif // #ifndef SPROUT_RANDOM_VARIATE_GENERATOR_HPP +#endif // #ifndef SPROUT_RANDOM_VARIATE_GENERATOR_HPP diff --git a/sprout/random/xor_combine.hpp b/sprout/random/xor_combine.hpp index 70fb5a90..5fb8b80d 100644 --- a/sprout/random/xor_combine.hpp +++ b/sprout/random/xor_combine.hpp @@ -99,9 +99,9 @@ namespace sprout { SPROUT_CONSTEXPR_OR_CONST int sprout::random::xor_combine_engine::shift1; template SPROUT_CONSTEXPR_OR_CONST int sprout::random::xor_combine_engine::shift2; - } // namespace random + } // namespace random using sprout::random::xor_combine_engine; -} // namespace sprout +} // namespace sprout -#endif // #ifndef SPROUT_RANDOM_XOR_COMBINE_HPP +#endif // #ifndef SPROUT_RANDOM_XOR_COMBINE_HPP diff --git a/sprout/rational.hpp b/sprout/rational.hpp index e5980f84..199ae797 100644 --- a/sprout/rational.hpp +++ b/sprout/rational.hpp @@ -11,4 +11,4 @@ #include #include -#endif // SPROUT_RATIONAL_HPP +#endif // #ifndef SPROUT_RATIONAL_HPP diff --git a/sprout/rational/arithmetic.hpp b/sprout/rational/arithmetic.hpp index 907dcc7e..e03397e7 100644 --- a/sprout/rational/arithmetic.hpp +++ b/sprout/rational/arithmetic.hpp @@ -253,6 +253,6 @@ namespace sprout { operator/(typename sprout::rational::param_type lhs, sprout::rational const& rhs) { return sprout::rational(lhs) / rhs; } -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_ARITHMETIC_HPP diff --git a/sprout/rational/comparison.hpp b/sprout/rational/comparison.hpp index b465f194..e6b68b24 100644 --- a/sprout/rational/comparison.hpp +++ b/sprout/rational/comparison.hpp @@ -191,6 +191,6 @@ namespace sprout { operator>=(typename sprout::rational::param_type lhs, sprout::rational const& rhs) { return !(lhs < rhs); } -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_COMPARISON_HPP diff --git a/sprout/rational/conversion.hpp b/sprout/rational/conversion.hpp index 764d8d19..2a2d58c7 100644 --- a/sprout/rational/conversion.hpp +++ b/sprout/rational/conversion.hpp @@ -13,6 +13,6 @@ namespace sprout { rational_cast(sprout::rational const& src) { return static_cast(src.numerator()) / static_cast(src.denominator()); } -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_CONVERSION_HPP diff --git a/sprout/rational/exceptions.hpp b/sprout/rational/exceptions.hpp index b86ad1b9..d8698b34 100644 --- a/sprout/rational/exceptions.hpp +++ b/sprout/rational/exceptions.hpp @@ -16,6 +16,6 @@ namespace sprout { : std::domain_error("bad rational: zero denominator") {} }; -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_EXCEPTIONS_HPP diff --git a/sprout/rational/hash.hpp b/sprout/rational/hash.hpp index e27be609..8e18e771 100644 --- a/sprout/rational/hash.hpp +++ b/sprout/rational/hash.hpp @@ -16,7 +16,7 @@ namespace sprout { hash_value(sprout::rational const& v) { return sprout::hash_values(v.numerator(), v.denominator()); } -} // namespace sprout +} // namespace sprout namespace std { // diff --git a/sprout/rational/io.hpp b/sprout/rational/io.hpp index f20b6f69..2b5cd508 100644 --- a/sprout/rational/io.hpp +++ b/sprout/rational/io.hpp @@ -36,6 +36,6 @@ namespace sprout { operator<<(std::basic_ostream& lhs, sprout::rational const& rhs) { return lhs << rhs.numerator() << Elem('/') << rhs.denominator(); } -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_IO_HPP diff --git a/sprout/rational/rational.hpp b/sprout/rational/rational.hpp index b426d0b0..ddbb968f 100644 --- a/sprout/rational/rational.hpp +++ b/sprout/rational/rational.hpp @@ -213,6 +213,6 @@ namespace sprout { ); } } // namespace detail -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_RATIONAL_HPP diff --git a/sprout/rational/values.hpp b/sprout/rational/values.hpp index 0f140056..45eb2674 100644 --- a/sprout/rational/values.hpp +++ b/sprout/rational/values.hpp @@ -19,6 +19,6 @@ namespace sprout { ) ; } -} // namespace sprout +} // namespace sprout #endif // SPROUT_RATIONAL_VALUES_HPP diff --git a/sprout/string/container.hpp b/sprout/string/container.hpp index 891d0ba1..09aa9c7f 100644 --- a/sprout/string/container.hpp +++ b/sprout/string/container.hpp @@ -29,7 +29,7 @@ namespace sprout { } template static SPROUT_CONSTEXPR copied_type - remake(Cont&& cont, typename sprout::container_traits >::difference_type size, Args&&... args) { + remake(Cont&& cont, typename sprout::container_traits >::difference_type size, Args&&... args) { typedef sprout::detail::make_construct_impl impl_type; return impl_type::make(static_cast(size), sprout::forward(args)...); } diff --git a/sprout/string/detail/compare.hpp b/sprout/string/detail/compare.hpp index de42cd80..73c46d97 100644 --- a/sprout/string/detail/compare.hpp +++ b/sprout/string/detail/compare.hpp @@ -30,7 +30,7 @@ namespace sprout { n1, n2 ); } - } // namespace string_detail -} // namespace sprout + } // namespace string_detail +} // namespace sprout #endif // #ifndef SPROUT_STRING_DETAIL_COMPARE_HPP diff --git a/sprout/string/detail/find.hpp b/sprout/string/detail/find.hpp index 8cdadaa3..0f0f7bd5 100644 --- a/sprout/string/detail/find.hpp +++ b/sprout/string/detail/find.hpp @@ -225,7 +225,7 @@ namespace sprout { : String::npos ; } - } // namespace string_detail -} // namespace sprout + } // namespace string_detail +} // namespace sprout #endif // #ifndef SPROUT_STRING_DETAIL_FIND_HPP diff --git a/sprout/utility/compare_pointees.hpp b/sprout/utility/compare_pointees.hpp index 33ae7a1c..6f07d2d5 100644 --- a/sprout/utility/compare_pointees.hpp +++ b/sprout/utility/compare_pointees.hpp @@ -128,4 +128,4 @@ namespace sprout { }; } // namespace sprout -#endif // #ifndef SPROUT_UTILITY_COMPARE_POINTEES_HPP +#endif // #ifndef SPROUT_UTILITY_COMPARE_POINTEES_HPP diff --git a/sprout/utility/value_holder.hpp b/sprout/utility/value_holder.hpp index ce4fc3c4..b51425a1 100644 --- a/sprout/utility/value_holder.hpp +++ b/sprout/utility/value_holder.hpp @@ -6,4 +6,4 @@ #include #include -#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_HPP +#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_HPP diff --git a/sprout/utility/value_holder/get.hpp b/sprout/utility/value_holder/get.hpp index 1b70b481..648c4252 100644 --- a/sprout/utility/value_holder/get.hpp +++ b/sprout/utility/value_holder/get.hpp @@ -44,4 +44,4 @@ namespace sprout { } } // namespace sprout -#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_GET_HPP +#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_GET_HPP diff --git a/sprout/utility/value_holder/value_holder.hpp b/sprout/utility/value_holder/value_holder.hpp index f9ed1e14..d4e45fda 100644 --- a/sprout/utility/value_holder/value_holder.hpp +++ b/sprout/utility/value_holder/value_holder.hpp @@ -213,4 +213,4 @@ namespace sprout { } } // namespace sprout -#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_VALUE_HOLDER_HPP +#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_VALUE_HOLDER_HPP