60#pragma GCC system_header
76 template<
typename _Tp,
typename _Integer,
typename _Mono
idOperation>
78 __power(_Tp __x, _Integer __n, _MonoidOperation __monoid_op)
84 while ((__n & 1) == 0)
87 __x = __monoid_op(__x, __x);
94 __x = __monoid_op(__x, __x);
96 __result = __monoid_op(__result, __x);
103 template<
typename _Tp,
typename _Integer>
115 template<
typename _Tp,
typename _Integer,
typename _Mono
idOperation>
117 power(_Tp __x, _Integer __n, _MonoidOperation __monoid_op)
118 {
return __power(__x, __n, __monoid_op); }
125 template<
typename _Tp,
typename _Integer>
130#if __cplusplus >= 201103L
139 template<
typename _ForwardIter,
typename _Tp>
141 iota(_ForwardIter __first, _ForwardIter __last, _Tp __value)
148 while (__first != __last)
149 *__first++ = __value++;
#define __glibcxx_function_requires(...)
#define _GLIBCXX_VISIBILITY(V)
#define _GLIBCXX_END_NAMESPACE_VERSION
#define _GLIBCXX_BEGIN_NAMESPACE_VERSION
_Tp power(_Tp __x, _Integer __n, _MonoidOperation __monoid_op)
constexpr void iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value)
Create a range of sequentially increasing values.
constexpr void iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value)
Create a range of sequentially increasing values.
rope< _CharT, _Alloc > identity_element(_Rope_Concat_fn< _CharT, _Alloc >)
_Tp __power(_Tp __x, _Integer __n, _MonoidOperation __monoid_op)
GNU extensions for public use.
Traits class for iterators.
One of the math functors.