Lines Matching refs:once_flag
175 struct once_flag
177 constexpr once_flag() noexcept;
179 once_flag(const once_flag&) = delete;
180 once_flag& operator=(const once_flag&) = delete;
184 void call_once(once_flag& flag, Callable&& func, Args&&... args);
553 struct _LIBCPP_TEMPLATE_VIS once_flag;
559 void call_once(once_flag&, _Callable&&, _Args&&...);
565 void call_once(once_flag&, _Callable&);
569 void call_once(once_flag&, const _Callable&);
573 struct _LIBCPP_TEMPLATE_VIS once_flag
577 once_flag() _NOEXCEPT : __state_(0) {}
580 once_flag(const once_flag&); // = delete;
581 once_flag& operator=(const once_flag&); // = delete;
588 void call_once(once_flag&, _Callable&&, _Args&&...);
592 void call_once(once_flag&, _Callable&);
596 void call_once(once_flag&, const _Callable&);
660 call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args)
676 call_once(once_flag& __flag, _Callable& __func)
688 call_once(once_flag& __flag, const _Callable& __func)