Skip to content

Missing template parameter in inclusive_scan description #49

Closed
@timsong-cpp

Description

@timsong-cpp

[parallel.alg.inclusive.scan]/3 depicts

template< class InputIterator, class OutputIterator, class BinaryOperation> 
OutputIterator inclusive_scan(InputIterator first, InputIterator last,
                              OutputIterator result,
                              BinaryOperation binary_op, T init);

This is missing a template parameter T (i.e., should presumably be template< class InputIterator, class OutputIterator, class BinaryOperation, class T>). The synopsis looks correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions