xtd
0.2.0
Loading...
Searching...
No Matches
◆
boxing()
[1/2]
template<typename type_t >
auto xtd::boxing
(
const type_t &
value
)
inline
noexcept
Allows to box an object.
Parameters
value
Value used to initialize object.
Returns
Boxed object.
Remarks
The boxed object must implement operator == and operator < because a
xtd::box
implement
xtd::icomparable
and
xtd::iequatable
interfaces.
Header
#include <xtd/boxing>
Namespace
xtd
Library
xtd.core
Remarks
For more information about types, see
Native types, boxing and unboxing
.
xtd
Generated on Mon Sep 9 2024 23:25:09 for xtd by
Gammasoft
. All rights reserved.