Basic Image AlgorithmS Library
2.8.0
|
compile time check if B is (grand)father of T Found it in Bjarne Stroustrup's FAQ: http://public.research.att.com/~bs/bs_faq2.html "Actually, Derived_from doesn't check derivation, but conversion, but that's often a better constaint. More...
#include <Base/Common/Constraints.hh>
Public Member Functions | |
DerivedFrom () | |
DerivedFrom () | |
Static Public Member Functions | |
static void | Constraints (T *p) |
compile time check if B is (grand)father of T Found it in Bjarne Stroustrup's FAQ: http://public.research.att.com/~bs/bs_faq2.html "Actually, Derived_from doesn't check derivation, but conversion, but that's often a better constaint.
compile time check if B is (grand)father of T Found it in Bjarne Stroustrup's FAQ: http://public.research.att.com/~bs/bs_faq2.html "Actually, Derived_from doesn't check derivation, but conversion, but that's often a better constraint.
Finding good names for constraints can be hard."
Definition at line 38 of file Constraints.hh.
|
inline |
Definition at line 41 of file Constraints.hh.
|
inline |
Definition at line 44 of file Constraints.hh.
References BIAS::DerivedFrom< T, B >::Constraints().
|
inlinestatic |
Definition at line 38 of file Constraints.hh.
Referenced by BIAS::DerivedFrom< T, B >::DerivedFrom().