BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslscm_patchversion.h
Go to the documentation of this file.
1
/// @file bslscm_patchversion.h
2
///
3
/// The content of this file has been pre-processed for Doxygen.
4
///
5
6
7
// bslscm_patchversion.h -*-C++-*-
8
#ifndef INCLUDED_BSLSCM_PATCHVERSION
9
#define INCLUDED_BSLSCM_PATCHVERSION
10
11
#include <
bsls_ident.h
>
12
13
BSLS_IDENT
(
"$Id: $"
)
14
15
/// @defgroup bslscm_patchversion bslscm_patchversion
16
/// @brief Provide common patch versioning information.
17
/// @addtogroup bsl
18
/// @{
19
/// @addtogroup bslscm
20
/// @{
21
/// @addtogroup bslscm_patchversion
22
/// @{
23
///
24
/// <h1> Outline </h1>
25
/// * <a href="#bslscm_patchversion-purpose"> Purpose</a>
26
/// * <a href="#bslscm_patchversion-description"> Description </a>
27
/// * <a href="#bslscm_patchversion-usage"> Usage </a>
28
///
29
/// # Purpose {#bslscm_patchversion-purpose}
30
/// Provide common patch versioning information.
31
///
32
/// @see bslscm_version, bslscm_versiontag
33
///
34
/// # Description {#bslscm_patchversion-description}
35
/// This component provides patch versioning information for the
36
/// `bsl` package group (and any other package groups released atomically with
37
/// `bsl`). The `BSLSCM_PATCHVERSION_PATCH` macro this component defines is of
38
/// limited standalone utility.
39
///
40
/// This header should only be included by implementation files, to avoid
41
/// unnecessary recompilations of client code.
42
///
43
/// ## Usage {#bslscm_patchversion-usage}
44
///
45
///
46
/// At compile time, the `patch` version of `bsl` can be examined.
47
/// @code
48
/// #if BSLSCM_PATCHVERSION_PATCH > 0
49
/// printf("This is a patch release\n");
50
/// #else
51
/// printf("This is a \".0\" initial release\n");
52
/// #endif
53
/// @endcode
54
/// @}
55
/** @} */
56
/** @} */
57
58
/** @addtogroup bsl
59
* @{
60
*/
61
/** @addtogroup bslscm
62
* @{
63
*/
64
/** @addtogroup bslscm_patchversion
65
* @{
66
*/
67
68
/// Provide the patch version number of the current (latest) BSL release.
69
#define BSLSCM_PATCHVERSION_PATCH 0
70
71
#endif
72
73
// ----------------------------------------------------------------------------
74
// Copyright 2015 Bloomberg Finance L.P.
75
//
76
// Licensed under the Apache License, Version 2.0 (the "License");
77
// you may not use this file except in compliance with the License.
78
// You may obtain a copy of the License at
79
//
80
// http://www.apache.org/licenses/LICENSE-2.0
81
//
82
// Unless required by applicable law or agreed to in writing, software
83
// distributed under the License is distributed on an "AS IS" BASIS,
84
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
85
// See the License for the specific language governing permissions and
86
// limitations under the License.
87
// ----------------------------- END-OF-FILE ----------------------------------
88
89
/** @} */
90
/** @} */
91
/** @} */
bsls_ident.h
BSLS_IDENT
#define BSLS_IDENT(str)
Definition
bsls_ident.h:195
doxygen_input
bde
groups
bsl
bslscm
bslscm_patchversion.h
Generated by
1.9.8