Sha256: c80b7df6fe06aa22c192ac2a21f5eb567f5331260178217cfaba6d27869db39c

Contents?: true

Size: 1.55 KB

Versions: 17

Compression:

Stored size: 1.55 KB

Contents

/*
Copyright Rene Rivera 2005, 2008-2013
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 BOOST_PREDEF_VERSION_NUMBER_H
#define BOOST_PREDEF_VERSION_NUMBER_H

/*`
[heading `BOOST_VERSION_NUMBER`]

``
BOOST_VERSION_NUMBER(major,minor,patch)
``

Defines standard version numbers, with these properties:

* Decimal base whole numbers in the range \[0,1000000000).
  The number range is designed to allow for a (2,2,5) triplet.
  Which fits within a 32 bit value.
* The `major` number can be in the \[0,99\] range.
* The `minor` number can be in the \[0,99\] range.
* The `patch` number can be in the \[0,99999\] range.
* Values can be specified in any base. As the defined value
  is an constant expression.
* Value can be directly used in both preprocessor and compiler
  expressions for comparison to other similarly defined values.
* The implementation enforces the individual ranges for the
  major, minor, and patch numbers. And values over the ranges
  are truncated (modulo).

*/
#define BOOST_VERSION_NUMBER(major,minor,patch) \
    ( (((major)%100)*10000000) + (((minor)%100)*100000) + ((patch)%100000) )

#define BOOST_VERSION_NUMBER_MAX \
    BOOST_VERSION_NUMBER(99,99,99999)

#define BOOST_VERSION_NUMBER_ZERO \
    BOOST_VERSION_NUMBER(0,0,0)

#define BOOST_VERSION_NUMBER_MIN \
    BOOST_VERSION_NUMBER(0,0,1)

#define BOOST_VERSION_NUMBER_AVAILABLE \
    BOOST_VERSION_NUMBER_MIN

#define BOOST_VERSION_NUMBER_NOT_AVAILABLE \
    BOOST_VERSION_NUMBER_ZERO

#endif

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
script_core-0.0.5 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h
script_core-0.0.4 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h
script_core-0.0.3 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h
script_core-0.0.2 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h
script_core-0.0.1 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h
passenger-5.1.4 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.1.3 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.1.2 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.1.1 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.1.0 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.0.30 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.0.29 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/passenger-5.0.28/src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.0.28 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.0.27 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.0.26 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h
passenger-5.0.25 src/cxx_supportlib/vendor-modified/boost/predef/version_number.h