Lines Matching refs:generic
64 explicit Data(const T& in) : generic(in) {} in Data()
65 Data(const T& in, const Traits& other) : Traits(other), generic(in) {} in Data()
66 T generic; member
103 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
106 data_.generic = value;
115 swap(data_.generic, other.data_.generic); in swap()
122 element_type old_generic = data_.generic; in release()
123 data_.generic = traits_type::InvalidValue(); in release()
131 return &data_.generic; in receive()
134 const element_type& get() const { return data_.generic; } in get()
138 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } in is_valid()
141 return data_.generic == value;
144 return data_.generic != value;
152 if (data_.generic != traits_type::InvalidValue()) { in FreeIfNecessary()
153 data_.Free(data_.generic); in FreeIfNecessary()
154 data_.generic = traits_type::InvalidValue(); in FreeIfNecessary()