BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslfwd.h
Go to the documentation of this file.
1/// @file bslfwd.h
2///
3///
4/// @defgroup bslfwd Package bslfwd
5/// @brief Basic Standard Library System ForWarding Declarations (bslfwd)
6/// @addtogroup bsl
7/// @{
8/// @addtogroup bslfwd
9/// [bslfwd]: group__bslfwd.html
10/// @{
11///
12/// # Purpose {#bslfwd-purpose}
13/// Provide compatibility for clients using single-level namespace
14///
15/// @deprecated Do not use.
16///
17/// # Mnemonic {#bslfwd-mnemonic}
18/// Basic Standard Library System ForWarding Declarations (bslfwd)
19///
20/// # Description {#bslfwd-description}
21/// Each component of this package provides a code snippet defining a
22/// forward reference to a corresponding type within 'bsl' (e.g.,
23/// 'bslfwd_bslma_allocator' defines a forward reference to the type defined in
24/// @ref bslma_allocator ). If 'BSLFWD_BUILDTARGET_BSL_USING_NAMESPACES' is defined,
25/// the forward declaration will refer the 'bsl' type in the two-level namespace;
26/// otherwise, it will refer to the type in the legacy single-level namespace
27/// (e.g., 'bslma::Allocator' versus 'bslma_Allocator', both in the 'BloombergLP'
28/// namespace).
29///
30/// The components in this package are provided to provide backward compatibility
31/// for existing clients. All new code must be written using the two-level
32/// namespace for 'bsl' types.
33///
34/// ## Hierarchical Synopsis
35///
36/// The 'bslfwd' package currently has 8 components having 2 levels of physical
37/// dependency. The list below shows the hierarchical ordering of the components.
38/// The order of components within each level is not architecturally significant,
39/// just alphabetical.
40/// @code
41/// 2. bslfwd_bslma_allocator !DEPRECATED!
42/// bslfwd_bslma_default !DEPRECATED!
43/// bslfwd_bslma_defaultallocatorguard !DEPRECATED!
44/// bslfwd_bslmf_nil !DEPRECATED!
45/// bslfwd_bsls_asserttestexception !DEPRECATED!
46/// bslfwd_bsls_stopwatch !DEPRECATED!
47/// bslfwd_bsls_types !DEPRECATED!
48///
49/// 1. bslfwd_buildtarget !DEPRECATED! !PRIVATE!
50/// @endcode
51///
52/// ## Component Synopsis
53///
54/// 'bslfwd_bslma_allocator': !DEPRECATED!
55/// Provide a forward-declaration for the corresponding BDE type.
56///
57/// 'bslfwd_bslma_default': !DEPRECATED!
58/// Provide a forward-declaration for the corresponding BDE type.
59///
60/// 'bslfwd_bslma_defaultallocatorguard': !DEPRECATED!
61/// Provide a forward-declaration for the corresponding BDE type.
62///
63/// 'bslfwd_bslmf_nil': !DEPRECATED!
64/// Provide a forward-declaration for the corresponding BDE type.
65///
66/// 'bslfwd_bsls_asserttestexception': !DEPRECATED!
67/// Provide a forward-declaration for the corresponding BDE type.
68///
69/// 'bslfwd_bsls_stopwatch': !DEPRECATED!
70/// Provide a forward-declaration for the corresponding BDE type.
71///
72/// 'bslfwd_bsls_types': !DEPRECATED!
73/// Provide a forward-declaration for the corresponding BDE type.
74///
75/// @ref bslfwd_buildtarget : !DEPRECATED! !PRIVATE!
76/// Supply a compile-time indicator of whether BSL uses C++ namespaces.
77///
78/// ## Usage
79///
80/// See "Updating 'bsl' Clients for Two-Level Namespaces" at
81/// 'https://bbiportal.bloomberg.com/BDE/Solutions/BSLFWD.html'
82///
83/// @}
84/** @} */