/*============================================================================= Copyright (c) 2011-2015 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #ifndef SPROUT_WEED_PARSER_NUMERIC_HEX_HPP #define SPROUT_WEED_PARSER_NUMERIC_HEX_HPP #include #include #include #include #include namespace sprout { namespace weed { // // hex // SPROUT_STATIC_CONSTEXPR auto hex = sprout::weed::uint_p(-1)>(); // // hex8 // hex16 // hex32 // hex64 // SPROUT_STATIC_CONSTEXPR auto hex8 = sprout::weed::uint_p(); SPROUT_STATIC_CONSTEXPR auto hex16 = sprout::weed::uint_p(); SPROUT_STATIC_CONSTEXPR auto hex32 = sprout::weed::uint_p(); SPROUT_STATIC_CONSTEXPR auto hex64 = sprout::weed::uint_p(); // // hex8f // hex16f // hex32f // hex64f // SPROUT_STATIC_CONSTEXPR auto hex8f = sprout::weed::uint_p::value>(); SPROUT_STATIC_CONSTEXPR auto hex16f = sprout::weed::uint_p::value>(); SPROUT_STATIC_CONSTEXPR auto hex32f = sprout::weed::uint_p::value>(); SPROUT_STATIC_CONSTEXPR auto hex64f = sprout::weed::uint_p::value>(); } // namespace weed } // namespace sprout #endif // #ifndef SPROUT_WEED_PARSER_NUMERIC_HEX_HPP