fix: remove unnecessary typename

This commit is contained in:
bolero-MURAKAMI 2014-01-18 13:35:18 +09:00
parent f0bea01ede
commit 8d732a5197
2 changed files with 4 additions and 4 deletions

View file

@ -27,13 +27,13 @@ namespace sprout {
#else // #if SPROUT_USE_TEMPLATE_ALIASES
template<sprout::index_t I, std::size_t N>
struct index_n
: public typename sprout::integer_n<sprout::index_t, I, N>::type
: public sprout::integer_n<sprout::index_t, I, N>::type
::template transfer<sprout::index_tuple<> >
{};
template<sprout::uindex_t I, std::size_t N>
struct uindex_n
: public typename sprout::integer_n<sprout::uindex_t, I, N>::type
: public sprout::integer_n<sprout::uindex_t, I, N>::type
::template transfer<sprout::uindex_tuple<> >
{};
#endif // #if SPROUT_USE_TEMPLATE_ALIASES

View file

@ -35,7 +35,7 @@ namespace sprout {
typename std::make_signed<sprout::index_t>::type Step = sprout::detail::integer_range_default_step<sprout::index_t, First, Last>::value
>
struct index_range
: public typename sprout::integer_range<sprout::index_t, First, Last, Step>::type
: public sprout::integer_range<sprout::index_t, First, Last, Step>::type
::template transfer<sprout::index_tuple<> >
{};
@ -44,7 +44,7 @@ namespace sprout {
typename std::make_signed<sprout::uindex_t>::type Step = sprout::detail::integer_range_default_step<sprout::uindex_t, First, Last>::value
>
struct uindex_range
: public typename sprout::integer_range<sprout::uindex_t, First, Last, Step>::type
: public sprout::integer_range<sprout::uindex_t, First, Last, Step>::type
::template transfer<sprout::uindex_tuple<> >
{};
#endif // #if SPROUT_USE_TEMPLATE_ALIASES