Removed unused do_cast functions.

This commit is contained in:
jwellbelove 2014-12-18 20:04:19 +00:00
parent 1291cdf432
commit 4086a7f7f6

View File

@ -982,24 +982,6 @@ namespace etl
private:
//***************************************************************************
/// Attempts to up cast the parameter to the specified base class.
//***************************************************************************
template <typename TBase, typename T>
TBase& do_upcast(T& t)
{
return upcast_functor<TBase, T1, T2, T3, T4, T5, T6, T7, T8>()(t);
}
//***************************************************************************
/// Attempts to up cast the parameter to the specified base class.
//***************************************************************************
template <typename TBase, typename T>
const TBase& do_upcast(const T& t) const
{
return upcast_functor<TBase, T1, T2, T3, T4, T5, T6, T7, T8>()(t);
}
//***************************************************************************
/// The internal storage.
/// Aligned on a suitable boundary, which should be good for all types.