Sha256: 3fda1302be78a6bfba2b2934dd14bf8ae0723561f4323840c82d842c06de0e6c

Contents?: true

Size: 1.86 KB

Versions: 36

Compression:

Stored size: 1.86 KB

Contents

// Copyright Kevlin Henney, 2000-2005.
// Copyright Alexander Nasonov, 2006-2010.
// Copyright Antony Polukhin, 2011-2014.
//
// 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)
//
// what:  lexical_cast custom keyword cast
// who:   contributed by Kevlin Henney,
//        enhanced with contributions from Terje Slettebo,
//        with additional fixes and suggestions from Gennaro Prota,
//        Beman Dawes, Dave Abrahams, Daryle Walker, Peter Dimov,
//        Alexander Nasonov, Antony Polukhin, Justin Viiret, Michael Hofmann,
//        Cheng Yang, Matthew Bradbury, David W. Birdsall, Pavel Korzh and other Boosters
// when:  November 2000, March 2003, June 2005, June 2006, March 2011 - 2014

#ifndef BOOST_LEXICAL_CAST_DETAIL_LCAST_CHAR_CONSTANTS_HPP
#define BOOST_LEXICAL_CAST_DETAIL_LCAST_CHAR_CONSTANTS_HPP

#include <boost/config.hpp>
#ifdef BOOST_HAS_PRAGMA_ONCE
#   pragma once
#endif

namespace boost 
{
    namespace detail // '0', '-', '+', 'e', 'E' and '.' constants
    {
        template < typename Char >
        struct lcast_char_constants {
            // We check in tests assumption that static casted character is
            // equal to correctly written C++ literal: U'0' == static_cast<char32_t>('0')
            BOOST_STATIC_CONSTANT(Char, zero  = static_cast<Char>('0'));
            BOOST_STATIC_CONSTANT(Char, minus = static_cast<Char>('-'));
            BOOST_STATIC_CONSTANT(Char, plus = static_cast<Char>('+'));
            BOOST_STATIC_CONSTANT(Char, lowercase_e = static_cast<Char>('e'));
            BOOST_STATIC_CONSTANT(Char, capital_e = static_cast<Char>('E'));
            BOOST_STATIC_CONSTANT(Char, c_decimal_separator = static_cast<Char>('.'));
        };
    }
} // namespace boost


#endif // BOOST_LEXICAL_CAST_DETAIL_LCAST_CHAR_CONSTANTS_HPP

Version data entries

36 entries across 36 versions & 3 rubygems

Version Path
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-6.0.0 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.7 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.6 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.5 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.4 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.3 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.2 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.1 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.3.0 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.2.3 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.2.2 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.2.1 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.2.0 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.1.12 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.1.11 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.1.10 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.1.9 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp
passenger-5.1.8 src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp