Sha256: 3c67bb841d977734c0d1da63f553b1644d46a47a37f581a627b86aaee89fc6b2

Contents?: true

Size: 492 Bytes

Versions: 19

Compression:

Stored size: 492 Bytes

Contents

/*
Copyright 2018 Glen Joseph Fernandes
(glenjofe@gmail.com)

Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_TYPEOF_CONSTANT_HPP
#define BOOST_TYPEOF_CONSTANT_HPP

#include <boost/config.hpp>

namespace boost {
namespace type_of {

template<class T, T N>
struct constant {
    typedef constant<T, N> type;
    typedef constant<T, N + 1> next;
    BOOST_STATIC_CONSTANT(T, value=N);
};

} /* type_of */
} /* boost */

#endif

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp