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