Lines Matching refs:constructed

111     void setConstructed(bool constructed) { mConstructed = constructed; }  in setConstructed()  argument
112 constexpr bool constructed() const { return mConstructed; } in constructed() function
113 constexpr operator bool() const { return constructed(); }
114 bool hasValue() const { return constructed(); } in hasValue()
116 constexpr OptionalFlagBase(bool constructed = false)
117 : mConstructed(constructed) {} in mConstructed() argument
195 Optional(const Optional& other) : base_flag(other.constructed()) { in Optional()
196 if (this->constructed()) { in Optional()
200 Optional(Optional&& other) : base_flag(other.constructed()) { in Optional()
201 if (this->constructed()) { in Optional()
210 Optional(const Optional<U>& other) : base_flag(other.constructed()) { in Optional()
211 if (this->constructed()) { in Optional()
220 Optional(Optional<U>&& other) : base_flag(other.constructed()) { in Optional()
221 if (this->constructed()) { in Optional()
251 if (this->constructed()) {
252 if (other.constructed()) {
259 if (other.constructed()) {
271 if (this->constructed()) {
272 if (other.constructed()) {
279 if (other.constructed()) {
293 if (this->constructed()) {
294 if (other.constructed()) {
301 if (other.constructed()) {
315 if (this->constructed()) {
316 if (other.constructed()) {
323 if (other.constructed()) {
341 if (this->constructed()) {
355 if (!constructed()) { in value()
362 if (!constructed()) { in value()
370 return this->constructed() ? &get() : nullptr; in ptr()
373 return this->constructed() ? &get() : nullptr; in ptr()
380 return this->constructed() ? get() : std::move(defaultValue); in valueOr()
385 if (!constructed()) {
392 if (!constructed()) {
400 if (!constructed()) {
407 if (!constructed()) {
415 if (this->constructed()) { in ~Optional()
421 if (this->constructed()) { in clear()
436 if (this->constructed()) { in emplace()
449 if (this->constructed()) { in emplace()