Lines Matching defs:generic
67 explicit Data(const T& in) : generic(in) {}
68 Data(const T& in, const Traits& other) : Traits(other), generic(in) {}
69 T generic;
106 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
109 data_.generic = value;
118 swap(data_.generic, other.data_.generic);
125 element_type old_generic = data_.generic;
126 data_.generic = traits_type::InvalidValue();
130 const element_type& get() const { return data_.generic; }
134 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); }
137 return data_.generic == value;
140 return data_.generic != value;
148 if (data_.generic != traits_type::InvalidValue()) {
149 data_.Free(data_.generic);
150 data_.generic = traits_type::InvalidValue();