BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsls_int64.h
Go to the documentation of this file.
1/// @file bsls_int64.h
2///
3/// The content of this file has been pre-processed for Doxygen.
4///
5
6
7// bsls_int64.h -*-C++-*-
8#ifndef INCLUDED_BSLS_INT64
9#define INCLUDED_BSLS_INT64
10
11#include <bsls_ident.h>
12BSLS_IDENT("$Id: $")
13
14/// @defgroup bsls_int64 bsls_int64
15/// @brief Provide namespace for platform-dependent 64-bit integer types.
16/// @addtogroup bsl
17/// @{
18/// @addtogroup bsls
19/// @{
20/// @addtogroup bsls_int64
21/// @{
22///
23/// <h1> Outline </h1>
24/// * <a href="#bsls_int64-purpose"> Purpose</a>
25/// * <a href="#bsls_int64-classes"> Classes </a>
26/// * <a href="#bsls_int64-description"> Description </a>
27/// * <a href="#bsls_int64-usage"> Usage </a>
28///
29/// # Purpose {#bsls_int64-purpose}
30/// Provide namespace for platform-dependent 64-bit integer types.
31///
32/// @deprecated Use component @ref bsls_types instead.
33///
34/// # Classes {#bsls_int64-classes}
35///
36/// - bsls_Int64: namespace for platform-dependent 64-bit integer types
37///
38/// # Description {#bsls_int64-description}
39/// This component provides platform-independent type names for
40/// both signed and unsigned 64 bit integers. For healthy platforms, the
41/// component simply provides a BDE-standard `typedef` for the non-standard
42/// native type name. For defective platforms or compilers, a bde-relevant
43/// subset of the needed functionality can be implemented.
44///
45/// The types (and platform-specific `typedef`s) exposed here are intended for
46/// use by @ref bsls_platformutil only (and not directly by any other client).
47/// This component exists to factor out various pathologies, present and future,
48/// with 64-bit integers.
49///
50/// **WARNING** If a given platform has a defective native 64-bit integer type,
51/// then there is no guarantee that the types supplied here will be suitable
52/// *except* as they are explicitly used by other BDE components. If a user
53/// encounters problems with the types, please contact the author or a BDE
54/// library maintenance engineer.
55///
56/// ## Usage {#bsls_int64-usage}
57///
58///
59/// Do not use this component; use @ref bsls_types instead.
60/// @}
61/** @} */
62/** @} */
63
64/** @addtogroup bsl
65 * @{
66 */
67/** @addtogroup bsls
68 * @{
69 */
70/** @addtogroup bsls_int64
71 * @{
72 */
73
74#ifdef BDE_OPENSOURCE_PUBLICATION // DEPRECATED
75#error "bsls_int64 is deprecated"
76#endif
77#include <bsls_platform.h>
78#include <bsls_types.h>
79
80
81
82 // =================
83 // struct bsls_Int64
84 // =================
85
86/// Provide a namespace for the implementations of platform-neutral 64-bit
87/// integers. Namely, this `struct` defines `Int64` as a 64-bit signed
88/// integer and `Uint64` as a 64-bit unsigned integer for all supported
89/// platforms.
90struct bsls_Int64 {
91
92 // TYPES
94
95 /// @deprecated Use @ref bsls::Types::Int64` and `bsls::Types::Uint64,
96 /// respectively, instead.
98};
99
100
101
102#endif
103
104// ----------------------------------------------------------------------------
105// Copyright 2013 Bloomberg Finance L.P.
106//
107// Licensed under the Apache License, Version 2.0 (the "License");
108// you may not use this file except in compliance with the License.
109// You may obtain a copy of the License at
110//
111// http://www.apache.org/licenses/LICENSE-2.0
112//
113// Unless required by applicable law or agreed to in writing, software
114// distributed under the License is distributed on an "AS IS" BASIS,
115// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
116// See the License for the specific language governing permissions and
117// limitations under the License.
118// ----------------------------- END-OF-FILE ----------------------------------
119
120/** @} */
121/** @} */
122/** @} */
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
unsigned long long Uint64
Definition bsls_types.h:137
long long Int64
Definition bsls_types.h:132
Definition bsls_int64.h:90
bsls::Types::Int64 Int64
Definition bsls_int64.h:93
bsls::Types::Uint64 Uint64
Definition bsls_int64.h:97