Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::tasks::StealResult< T > Struct Template Reference

The result of WorkStealingDeque::steal. More...

#include "donner/base/tasks/WorkStealingDeque.h"

Public Attributes

StealStatus status = StealStatus::Empty
 How the steal ended.
T item {}
 The stolen entry when Status is StealStatus::Taken, else T{}.

Friends

bool operator== (const StealResult &lhs, const StealResult &rhs)=default
 Equality operator, comparing both fields.
std::ostream & operator<< (std::ostream &os, const StealResult &result)
 Ostream output operator, for test diagnostics.

Detailed Description

template<typename T>
struct donner::tasks::StealResult< T >

The result of WorkStealingDeque::steal.

Template Parameters
TThe deque's entry type.

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