- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# SequenceHolder2< Sequence, Base, Functor1, Functor2 > Struct Template Reference

Search for all occurrences

## Detailed Description

### template<typename Sequence, typename Base, typename Functor1, typename Functor2>
struct QtConcurrent::SequenceHolder2< Sequence, Base, Functor1, Functor2 >

Definition at line 225 of file qtconcurrentreducekernel.h.

`#include <qtconcurrentreducekernel.h>`

List of all members.

## Public Member Functions
| SequenceHolder2 (const Sequence &_sequence, Functor1 functor1, Functor2 functor2, ReduceOptions reduceOptions)
void | finish ()
## Public Attributes
Sequence | sequence

## Constructor & Destructor Documentation

SequenceHolder2 | ( | const Sequence & | _sequence,
|  | Functor1 | functor1,
|  | Functor2 | functor2,
|  | ReduceOptions | reduceOptions
| ) |  | `[inline]`

Definition at line 227 of file qtconcurrentreducekernel.h.

            : Base(_sequence.begin(), _sequence.end(), functor1, functor2, reduceOptions),
              sequence(_sequence)
        { }

## Member Function Documentation

void finish | ( |  | ) | `[inline]`

Search for all occurrences

Definition at line 237 of file qtconcurrentreducekernel.h.

        {
            Base::finish();
            // Clear the sequence to make sure all temporaries are destroyed
            // before finished is signaled.
            sequence = Sequence();
        }

## Member Data Documentation

Sequence sequence

Search for all occurrences

Definition at line 235 of file qtconcurrentreducekernel.h.

The documentation for this struct was generated from the following file:

- QtCore/qtconcurrentreducekernel.h