mirror of git://gcc.gnu.org/git/gcc.git
numeric.h: Do not use default arguments in function template redeclarations (definitions).
* include/parallel/numeric.h: Do not use default arguments in function template redeclarations (definitions). From-SVN: r217069
This commit is contained in:
parent
d3cf41899e
commit
335a3ed6a1
|
|
@ -20,6 +20,9 @@
|
||||||
allocator instead of moving.
|
allocator instead of moving.
|
||||||
* testsuite/23_containers/deque/allocator/move-2.cc: New.
|
* testsuite/23_containers/deque/allocator/move-2.cc: New.
|
||||||
|
|
||||||
|
* include/parallel/numeric.h: Do not use default arguments in function
|
||||||
|
template redeclarations (definitions).
|
||||||
|
|
||||||
2014-11-03 Paolo Carlini <paolo.carlini@oracle.com>
|
2014-11-03 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
* include/parallel/algo.h: Do not use default arguments in function
|
* include/parallel/algo.h: Do not use default arguments in function
|
||||||
|
|
|
||||||
|
|
@ -85,8 +85,7 @@ namespace __parallel
|
||||||
__accumulate_switch(__RAIter __begin, __RAIter __end,
|
__accumulate_switch(__RAIter __begin, __RAIter __end,
|
||||||
_Tp __init, _BinaryOperation __binary_op,
|
_Tp __init, _BinaryOperation __binary_op,
|
||||||
random_access_iterator_tag,
|
random_access_iterator_tag,
|
||||||
__gnu_parallel::_Parallelism __parallelism_tag
|
__gnu_parallel::_Parallelism __parallelism_tag)
|
||||||
= __gnu_parallel::parallel_unbalanced)
|
|
||||||
{
|
{
|
||||||
if (_GLIBCXX_PARALLEL_CONDITION(
|
if (_GLIBCXX_PARALLEL_CONDITION(
|
||||||
static_cast<__gnu_parallel::_SequenceIndex>(__end - __begin)
|
static_cast<__gnu_parallel::_SequenceIndex>(__end - __begin)
|
||||||
|
|
@ -193,8 +192,7 @@ namespace __parallel
|
||||||
_BinaryFunction2 __binary_op2,
|
_BinaryFunction2 __binary_op2,
|
||||||
random_access_iterator_tag,
|
random_access_iterator_tag,
|
||||||
random_access_iterator_tag,
|
random_access_iterator_tag,
|
||||||
__gnu_parallel::_Parallelism __parallelism_tag
|
__gnu_parallel::_Parallelism __parallelism_tag)
|
||||||
= __gnu_parallel::parallel_unbalanced)
|
|
||||||
{
|
{
|
||||||
if (_GLIBCXX_PARALLEL_CONDITION((__last1 - __first1)
|
if (_GLIBCXX_PARALLEL_CONDITION((__last1 - __first1)
|
||||||
>= __gnu_parallel::_Settings::get().
|
>= __gnu_parallel::_Settings::get().
|
||||||
|
|
@ -419,8 +417,7 @@ namespace __parallel
|
||||||
random_access_iterator_tag,
|
random_access_iterator_tag,
|
||||||
random_access_iterator_tag,
|
random_access_iterator_tag,
|
||||||
__gnu_parallel::_Parallelism
|
__gnu_parallel::_Parallelism
|
||||||
__parallelism_tag
|
__parallelism_tag)
|
||||||
= __gnu_parallel::parallel_balanced)
|
|
||||||
{
|
{
|
||||||
if (_GLIBCXX_PARALLEL_CONDITION(
|
if (_GLIBCXX_PARALLEL_CONDITION(
|
||||||
static_cast<__gnu_parallel::_SequenceIndex>(__end - __begin)
|
static_cast<__gnu_parallel::_SequenceIndex>(__end - __begin)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue