xtd
0.2.0
Loading...
Searching...
No Matches
◆
boxing()
[2/2]
template<typename type_t , typename ... args_t>
box
< type_t > xtd::boxing
(
args_t &&...
args
)
inline
noexcept
Allows to box an object.
Parameters
...args
Params 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 Sat Sep 7 2024 06:18:28 for xtd by
Gammasoft
. All rights reserved.