define UsesAllocator for tuple

master
Daniel Kolesa 2015-07-11 22:24:36 +01:00
parent fa7d07bf01
commit 6df52cdbcb
1 changed files with 5 additions and 0 deletions

View File

@ -551,6 +551,11 @@ inline bool operator>=(const Tuple<T...> &x, const Tuple<U...> &y) {
return !(x < y);
}
/* uses alloc */
template<typename ...T, typename A>
struct UsesAllocator<Tuple<T...>, A>: True {};
} /* namespace octa */
#endif