AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::util::SizeCheckedCast< T, TT >::ConstCheck< Tfrom, Tto > Class Template Reference

checks for const-correctness of the cast More...

Static Public Member Functions

static T * respects_constness (T *v)
 

Detailed Description

template<class T, class TT>
template<class Tfrom, class Tto>
class aff::util::SizeCheckedCast< T, TT >::ConstCheck< Tfrom, Tto >

checks for const-correctness of the cast

Only those specializations of this class offer a function respects_constness, that represent a const-correct conversion.

The general template if for two non-const types - which is a const-correct conversion

Parameters
Tfromsource type (non-const)
Ttodestination type (non-const)
See also
aff::util::SizeCheckedCast::ConstCheck<const Tfrom, const Tto>
aff::util::SizeCheckedCast::ConstCheck<Tfrom, const Tto>
aff::util::SizeCheckedCast::ConstCheck<const Tfrom, Tto>
aff::util::SizeCheckedCast

Definition at line 110 of file checkedcast.h.


The documentation for this class was generated from the following file: