A constant_producer
is used as a wrapper for a constant value which is going to be passed to a task in a dependence graph. This class stores a copy of the value.
More...
Public Member Functions | |
constant_producer (T const &element) | |
T | get_element () const |
Public Types | |
using | index_type = std::size_t |
using | value_type = T |
A constant_producer
is used as a wrapper for a constant value which is going to be passed to a task in a dependence graph. This class stores a copy of the value.