Lines Matching refs:Traits
54 template<typename T, typename Traits>
63 struct Data : public Traits {
65 Data(const T& in, const Traits& other) : Traits(other), generic(in) {} in Data()
71 typedef Traits traits_type;
85 ScopedGeneric(ScopedGeneric<T, Traits>&& rvalue) in ScopedGeneric()
94 ScopedGeneric& operator=(ScopedGeneric<T, Traits>&& rvalue) {
114 swap(static_cast<Traits&>(data_), static_cast<Traits&>(other.data_)); in swap()
147 Traits& get_traits() { return data_; } in get_traits()
148 const Traits& get_traits() const { return data_; } in get_traits()
171 template<class T, class Traits>
172 void swap(const ScopedGeneric<T, Traits>& a, in swap()
173 const ScopedGeneric<T, Traits>& b) { in swap()
177 template<class T, class Traits>
178 bool operator==(const T& value, const ScopedGeneric<T, Traits>& scoped) {
182 template<class T, class Traits>
183 bool operator!=(const T& value, const ScopedGeneric<T, Traits>& scoped) {