Searched defs:swappable (Results 1 – 1 of 1) sorted by relevance
82 template<typename T> struct swappable { struct83 typedef decltype(swap(declval<T&>(), declval<T&>())) type;84 static const bool value = !is_same<type, nat>::value;85 constexpr operator bool() const { return value; } in operator bool()