Searched refs:_Gen (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/libcxx/include/__random/ |
| H A D | uniform_random_bit_generator.h | 30 template<class _Gen> 32 invocable<_Gen&> && unsigned_integral<invoke_result_t<_Gen&>> && 34 { _Gen::min() } -> same_as<invoke_result_t<_Gen&>>; 35 { _Gen::max() } -> same_as<invoke_result_t<_Gen&>>; 36 requires bool_constant<(_Gen::min() < _Gen::max())>::value;
|
| H A D | piecewise_constant_distribution.h | 289 typedef uniform_real_distribution<result_type> _Gen; in operator() typedef 290 result_type __u = _Gen()(__g); in operator()
|
| H A D | piecewise_linear_distribution.h | 294 typedef uniform_real_distribution<result_type> _Gen; in operator() typedef 295 result_type __u = _Gen()(__g); in operator()
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | ranges_shuffle.h | 43 template <random_access_iterator _Iter, sentinel_for<_Iter> _Sent, class _Gen> 44 requires permutable<_Iter> && uniform_random_bit_generator<remove_reference_t<_Gen>> 46 _Iter operator()(_Iter __first, _Sent __last, _Gen&& __gen) const { in operator() 47 _ClassicGenAdaptor<_Gen> __adapted_gen(__gen); in operator() 51 template<random_access_range _Range, class _Gen> 52 requires permutable<iterator_t<_Range>> && uniform_random_bit_generator<remove_reference_t<_Gen>> 54 borrowed_iterator_t<_Range> operator()(_Range&& __range, _Gen&& __gen) const { in operator() 55 return (*this)(ranges::begin(__range), ranges::end(__range), std::forward<_Gen>(__gen)); in operator()
|
| H A D | ranges_sample.h | 39 …mplate <input_iterator _Iter, sentinel_for<_Iter> _Sent, weakly_incrementable _OutIter, class _Gen> 42 uniform_random_bit_generator<remove_reference_t<_Gen>> 45 _OutIter __out_first, iter_difference_t<_Iter> __n, _Gen&& __gen) const { in operator() 46 _ClassicGenAdaptor<_Gen> __adapted_gen(__gen); in operator() 51 template <input_range _Range, weakly_incrementable _OutIter, class _Gen> 54 uniform_random_bit_generator<remove_reference_t<_Gen>> 56 …_OutIter operator()(_Range&& __range, _OutIter __out_first, range_difference_t<_Range> __n, _Gen&&… in operator() 58 std::move(__out_first), __n, std::forward<_Gen>(__gen)); in operator()
|
| H A D | uniform_random_bit_generator_adaptor.h | 35 template <class _Gen> 39 _Gen& __gen; 42 using result_type = invoke_result_t<_Gen&>; 45 static constexpr auto min() { return __uncvref_t<_Gen>::min(); } in min() 47 static constexpr auto max() { return __uncvref_t<_Gen>::max(); } in max() 50 constexpr explicit _ClassicGenAdaptor(_Gen& __g) : __gen(__g) {} in _ClassicGenAdaptor()
|