Lines Matching refs:_Callable
557 template<class _Callable, class... _Args>
559 void call_once(once_flag&, _Callable&&, _Args&&...);
563 template<class _Callable>
565 void call_once(once_flag&, _Callable&);
567 template<class _Callable>
569 void call_once(once_flag&, const _Callable&);
593 template<class _Callable, class... _Args>
595 void call_once(once_flag&, _Callable&&, _Args&&...);
597 template<class _Callable>
599 void call_once(once_flag&, _Callable&);
601 template<class _Callable>
603 void call_once(once_flag&, const _Callable&);
665 template<class _Callable, class... _Args>
668 call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args)
672 typedef tuple<_Callable&&, _Args&&...> _Gp;
673 _Gp __f(_VSTD::forward<_Callable>(__func), _VSTD::forward<_Args>(__args)...);
681 template<class _Callable>
684 call_once(once_flag& __flag, _Callable& __func)
688 __call_once_param<_Callable> __p(__func);
689 __call_once(__flag.__state_, &__p, &__call_once_proxy<_Callable>);
693 template<class _Callable>
696 call_once(once_flag& __flag, const _Callable& __func)
700 __call_once_param<const _Callable> __p(__func);
701 __call_once(__flag.__state_, &__p, &__call_once_proxy<const _Callable>);