Generator was not updated to match the intended generated file.

This commit is contained in:
John Wellbelove 2017-10-27 10:22:06 +01:00
parent a6f3bcd17e
commit 585a65453e

View File

@ -428,8 +428,10 @@ namespace etl
/// is_base_of
///\ingroup type_traits
template<class TBase, class TDerived>
struct is_base_of
template<typename TBase,
typename TDerived,
const bool IsFundamental = (etl::is_fundamental<TBase>::value || etl::is_fundamental<TDerived>::value)>
struct is_base_of
{
private:
@ -444,6 +446,13 @@ namespace etl
static const bool value = (sizeof(check((internal*)0)) == sizeof(TBase*));
};
// For when TBase or TDerived is a fundamental type.
template<typename TBase, typename TDerived>
struct is_base_of<TBase, TDerived, true>
{
static const bool value = false;
};
/// Alignment templates.
/// These require compiler specific intrinsics.
///\ingroup type_traits