/* Copyright Rene Rivera 2008-2015 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)
*/ #include <msgpack/predef/detail/test.h>
/* Shorthands for the common version number formats used by vendors...
*/
/*` [heading `MSGPACK_PREDEF_MAKE_..` macros]
These set of macros decompose common vendor version number macros which are composed version, revision, and patch digits. The naming convention indicates:
* The base of the specified version number. "`MSGPACK_PREDEF_MAKE_0X`" for hexadecimal digits, and "`MSGPACK_PREDEF_MAKE_10`" for decimal digits. * The format of the vendor version number. Where "`V`" indicates the version digits, "`R`" indicates the revision digits, "`P`" indicates the patch digits, and "`0`" indicates an ignored digit.
Date decomposition macros return a date in the relative to the 1970 Epoch date. If the month is not available, January 1st is used as the month and day. If the day is not available, but the month is, the 1st of the month is used as the day.
*/ /*` `MSGPACK_PREDEF_MAKE_DATE(Y,M,D)` */ #define MSGPACK_PREDEF_MAKE_DATE(Y,M,D) MSGPACK_VERSION_NUMBER((Y)%10000-1970,(M)%100,(D)%100) /*` `MSGPACK_PREDEF_MAKE_YYYYMMDD(V)` */ #define MSGPACK_PREDEF_MAKE_YYYYMMDD(V) MSGPACK_PREDEF_MAKE_DATE(((V)/10000)%10000,((V)/100)%100,(V)%100) /*` `MSGPACK_PREDEF_MAKE_YYYY(V)` */ #define MSGPACK_PREDEF_MAKE_YYYY(V) MSGPACK_PREDEF_MAKE_DATE(V,1,1) /*` `MSGPACK_PREDEF_MAKE_YYYYMM(V)` */ #define MSGPACK_PREDEF_MAKE_YYYYMM(V) MSGPACK_PREDEF_MAKE_DATE((V)/100,(V)%100,1)
#endif
¤ Dauer der Verarbeitung: 0.26 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.