![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/include/boost/predef/ |
Upload File : |
/* Copyright Rene Rivera 2005-2016 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 /*` `` BOOST_VERSION_NUMBER_MAJOR(N), BOOST_VERSION_NUMBER_MINOR(N), BOOST_VERSION_NUMBER_PATCH(N) `` The macros extract the major, minor, and patch portion from a well formed version number resulting in a preprocessor expression in the range of \[0,99\] or \[0,99999\] for the major and minor, or patch numbers respectively. */ #define BOOST_VERSION_NUMBER_MAJOR(N) \ ( ((N)/10000000)%100 ) #define BOOST_VERSION_NUMBER_MINOR(N) \ ( ((N)/100000)%100 ) #define BOOST_VERSION_NUMBER_PATCH(N) \ ( (N)%100000 ) #endif