Lines Matching refs:scoper
354 // PassedWrapper is a copyable adapter for a scoper that ignores const.
376 // scoper to a Callback and allow the Callback to execute once.
380 explicit PassedWrapper(T&& scoper)
381 : is_valid_(true), scoper_(std::move(scoper)) {}
622 // rvalues. The second takes a pointer to the scoper and is just syntactic sugar
623 // to avoid having to write Passed(std::move(scoper)).
631 static inline internal::PassedWrapper<T> Passed(T&& scoper) {
632 return internal::PassedWrapper<T>(std::move(scoper));
637 static inline internal::PassedWrapper<T> Passed(T* scoper) {
638 return internal::PassedWrapper<T>(std::move(*scoper));