Class template Dune::XT::Common::PerThreadValue

template<class ValueImp>
class Dune::XT::Common::PerThreadValue<ValueImp>

Automatic Storage of non-static, N thread-local values

Method Dune::XT::Common::PerThreadValue::operator*

template<class ValueImp>
ValueType &Dune::XT::Common::PerThreadValue<ValueImp>::operator*()

No documentation provided.

Method Dune::XT::Common::PerThreadValue::operator*

template<class ValueImp>
ConstValueType &Dune::XT::Common::PerThreadValue<ValueImp>::operator*() const

No documentation provided.

Method Dune::XT::Common::PerThreadValue::operator->

template<class ValueImp>
ValueType *Dune::XT::Common::PerThreadValue<ValueImp>::operator->()

No documentation provided.

Method Dune::XT::Common::PerThreadValue::operator->

template<class ValueImp>
ConstValueType *Dune::XT::Common::PerThreadValue<ValueImp>::operator->() const

No documentation provided.

Method Dune::XT::Common::PerThreadValue::sum

template<class ValueImp>
ValueType Dune::XT::Common::PerThreadValue<ValueImp>::sum() const

No documentation provided.

Method Dune::XT::Common::PerThreadValue::begin

template<class ValueImp>
typename ContainerType::iterator Dune::XT::Common::PerThreadValue<ValueImp>::begin()

No documentation provided.

Method Dune::XT::Common::PerThreadValue::end

template<class ValueImp>
typename ContainerType::iterator Dune::XT::Common::PerThreadValue<ValueImp>::end()

No documentation provided.

Method Dune::XT::Common::PerThreadValue::begin

template<class ValueImp>
typename ContainerType::const_iterator Dune::XT::Common::PerThreadValue<ValueImp>::begin() const

No documentation provided.

Method Dune::XT::Common::PerThreadValue::end

template<class ValueImp>
typename ContainerType::const_iterator Dune::XT::Common::PerThreadValue<ValueImp>::end() const

No documentation provided.

Constructor Dune::XT::Common::PerThreadValue::PerThreadValue<ValueImp>

template<>
template<class ValueImp>
explicit Dune::XT::Common::PerThreadValue<ValueImp>::PerThreadValue<ValueImp>(ConstValueType &value)

Initialization by copy construction of ValueType

Field Dune::XT::Common::PerThreadValue::values_

ContainerType Dune::XT::Common::PerThreadValue::values_

No documentation provided.

Type alias Dune::XT::Common::PerThreadValue::ContainerType

type Dune::XT::Common::PerThreadValue::ContainerType

No documentation provided.

Type alias Dune::XT::Common::PerThreadValue::ValueType

type Dune::XT::Common::PerThreadValue::ValueType

No documentation provided.

Type alias Dune::XT::Common::PerThreadValue::ConstValueType

type Dune::XT::Common::PerThreadValue::ConstValueType

No documentation provided.

Function template Dune::XT::Common::PerThreadValue::PerThreadValue<ValueImp>

template<class ValueImp>
template<class ...InitTypes, typename>
explicit Dune::XT::Common::PerThreadValue<ValueImp>::PerThreadValue<ValueImp>(InitTypes&&... ctor_args)

Initialization by in-place construction ValueType with

:param ctor_args:

Function template Dune::XT::Common::PerThreadValue::accumulate

template<class ValueImp>
template<class BinaryOperation>
ValueType Dune::XT::Common::PerThreadValue<ValueImp>::accumulate(ValueType init, BinaryOperation op) const

No documentation provided.