forked from OctaForge/libostd
define UsesAllocator for tuple
parent
fa7d07bf01
commit
6df52cdbcb
|
@ -551,6 +551,11 @@ inline bool operator>=(const Tuple<T...> &x, const Tuple<U...> &y) {
|
||||||
return !(x < y);
|
return !(x < y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* uses alloc */
|
||||||
|
|
||||||
|
template<typename ...T, typename A>
|
||||||
|
struct UsesAllocator<Tuple<T...>, A>: True {};
|
||||||
|
|
||||||
} /* namespace octa */
|
} /* namespace octa */
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue