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:
parent
57011669a0
commit
c71502f6b6
11 changed files with 111 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue