BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslstl_referencewrapper.h
Go to the documentation of this file.
1/// @file bslstl_referencewrapper.h
2///
3/// The content of this file has been pre-processed for Doxygen.
4///
5
6
7// bslstl_referencewrapper.h -*-C++-*-
8#ifndef INCLUDED_BSLSTL_REFERENCEWRAPPER
9#define INCLUDED_BSLSTL_REFERENCEWRAPPER
10
11#include <bsls_ident.h>
12BSLS_IDENT("$Id: $")
13
14/// @defgroup bslstl_referencewrapper bslstl_referencewrapper
15/// @brief <span style="color: var(--deprecated-color-dark)">DEPRECATED:</span> Provide copyable, assignable object wrapper for references.
16/// @addtogroup bsl
17/// @{
18/// @addtogroup bslstl
19/// @{
20/// @addtogroup bslstl_referencewrapper
21/// @{
22///
23/// <h1> Outline </h1>
24/// * <a href="#bslstl_referencewrapper-purpose"> Purpose</a>
25/// * <a href="#bslstl_referencewrapper-classes"> Classes </a>
26/// * <a href="#bslstl_referencewrapper-canonical-header"> Canonical Header </a>
27/// * <a href="#bslstl_referencewrapper-description"> Description </a>
28///
29/// # Purpose {#bslstl_referencewrapper-purpose}
30/// Provide copyable, assignable object wrapper for references.
31///
32/// @deprecated Use @ref bslmf_referencewrapper instead.
33///
34/// # Classes {#bslstl_referencewrapper-classes}
35///
36/// - bsl::reference_wrapper: class object to hold a reference to an object
37///
38/// # Canonical Header {#bslstl_referencewrapper-canonical-header}
39/// bsl_functional.h
40///
41/// # Description {#bslstl_referencewrapper-description}
42/// This component just includes `<bslmf_referencewrapper.h>` due
43/// to backwards compatibility. See @ref bslmf_referencewrapper for more
44/// information.
45/// @}
46/** @} */
47/** @} */
48
49/** @addtogroup bsl
50 * @{
51 */
52/** @addtogroup bslstl
53 * @{
54 */
55/** @addtogroup bslstl_referencewrapper
56 * @{
57 */
58
59#include <bslscm_version.h>
60
62
63#ifndef BDE_OMIT_INTERNAL_DEPRECATED
64# ifdef BSLMF_REFERENCEWRAPPER_IS_ALIASED
65 // Typo in the name is intentional for backwards compatibility
66# define BSLSTL_REFRENCEWRAPPER_IS_ALIASED
67# endif
68#endif // BDE_OMIT_INTERNAL_DEPRECATED
69
70#endif
71
72// ----------------------------------------------------------------------------
73// Copyright 2024 Bloomberg Finance L.P.
74//
75// Licensed under the Apache License, Version 2.0 (the "License");
76// you may not use this file except in compliance with the License.
77// You may obtain a copy of the License at
78//
79// http://www.apache.org/licenses/LICENSE-2.0
80//
81// Unless required by applicable law or agreed to in writing, software
82// distributed under the License is distributed on an "AS IS" BASIS,
83// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
84// See the License for the specific language governing permissions and
85// limitations under the License.
86// ----------------------------- END-OF-FILE ----------------------------------
87
88/** @} */
89/** @} */
90/** @} */
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238