AFF --- A container for numbers (array) by Friederich and Forbriger.
◆
cast()
template<class T , class TT >
static TT*
aff::util::SizeCheckedCast
< T, TT >::cast
(
T *
p
)
inline
static
return a type-casted (and type-checked) pointer
Definition at line
88
of file
checkedcast.h
.
88
{
89
return
(reinterpret_cast<TT*>(
90
SizeCheck<
sizeof
(T),
sizeof
(TT)>::have_same_size(
91
ConstCheck<T,TT>::respects_constness
(p)))); }
aff::util::SizeCheckedCast::ConstCheck::respects_constness
static T * respects_constness(T *v)
Definition:
checkedcast.h:111
aff
util
SizeCheckedCast
Generated on Mon Aug 21 2023 17:36:09 for AFF --- A container for numbers (array) by Friederich and Forbriger. by
1.8.14