Lines Matching refs:this
9 // notice, this list of conditions and the following disclaimer.
11 // copyright notice, this list of conditions and the following disclaimer
16 // this software without specific prior written permission.
183 // order for this function to compile.
302 // `To` according to [conv]. In C++17, [conv]/3 defines this as follows:
308 // [conv]/2 implies we can use function argument passing to detect whether this
311 // Note that this is distinct from is_convertible, which requires this be valid:
320 // this function work.
499 // this is only used by WillOnce, which we know calls at most once.
502 // away with this.
531 // OnceAction already checks this for us. std::is_invocable_r_v itself makes
698 // Implement this interface to define an action for function type F.
780 // Returns true if and only if this is the DoDefault() action.
783 // Performs the action. Note that this method is const even though
811 return OA{*this};
838 // fun_ is an empty function if and only if this is the DoDefault() action.
1000 // implicit conversion because this is a OnceAction: it's fine if it
1004 // A copy of the value originally provided by the user. We retain this in
1013 // We eagerly initialize this here, rather than lazily doing the implicit
1025 // value-like type U when being implicitly converted. An example of this
1050 // This eager conversion helps with a simple case like this, but doesn't
1120 // this is enforced by returning nullptr, and in non-C++11 by asserting a
1365 // Assert statement belongs here because this is the best place to verify
1368 // Impl really belongs in this scope as a local class but can't
1370 // in this case. Until MS fixes that bug we put Impl into the class scope
1607 std::move(static_cast<Base&>(*this)),
1640 static_cast<const Base&>(*this),
1884 // Return(ByMove()) actions can only be executed once and will assert this
1891 // Creates an action that returns an element of `vals`. Calling this action will
1899 // Creates an action that returns an element of `vals`. Calling this action will
2084 // instead of testing::internal. However, this is an INTERNAL TYPE
2131 return static_cast<const Impl&>(*this)