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&);
586 template<class _Callable, class... _Args>
588 void call_once(once_flag&, _Callable&&, _Args&&...);
590 template<class _Callable>
592 void call_once(once_flag&, _Callable&);
594 template<class _Callable>
596 void call_once(once_flag&, const _Callable&);
657 template<class _Callable, class... _Args>
660 call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args)
664 typedef tuple<_Callable&&, _Args&&...> _Gp;
665 _Gp __f(_VSTD::forward<_Callable>(__func), _VSTD::forward<_Args>(__args)...);
673 template<class _Callable>
676 call_once(once_flag& __flag, _Callable& __func)
680 __call_once_param<_Callable> __p(__func);
681 __call_once(__flag.__state_, &__p, &__call_once_proxy<_Callable>);
685 template<class _Callable>
688 call_once(once_flag& __flag, const _Callable& __func)
692 __call_once_param<const _Callable> __p(__func);
693 __call_once(__flag.__state_, &__p, &__call_once_proxy<const _Callable>);