1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix: index_tuple metafunctions as index_tuple aliases (if Template-aliases enabled)

This commit is contained in:
bolero-MURAKAMI 2013-05-12 11:05:31 +09:00
parent 57011669a0
commit c71502f6b6
11 changed files with 111 additions and 45 deletions

View file

@ -27,6 +27,10 @@ namespace sprout {
struct rebind
: public index_tuple<J...>
{};
public:
static SPROUT_CONSTEXPR type make() SPROUT_NOEXCEPT {
return type();
}
};
template<sprout::uindex_t... Indexes>
@ -39,6 +43,10 @@ namespace sprout {
struct rebind
: public uindex_tuple<J...>
{};
public:
static SPROUT_CONSTEXPR type make() SPROUT_NOEXCEPT {
return type();
}
};
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
} // namespace sprout