ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
ttvalue.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2#ifndef TTG_MADNESS_TTVALUE_H
3#define TTG_MADNESS_TTVALUE_H
4
5namespace ttg_madness {
6
7 template<typename DerivedT>
8 struct TTValue
9 {
10 /* empty */
11 };
12
13 template<typename ValueT>
14 inline auto persistent(ValueT&& value) {
15 return std::forward<ValueT>(value);
16 }
17
18} // namespace ttg_madness
19
20 #endif // TTG_MADNESS_TTVALUE_H
this contains MADNESS-based TTG functionality
Definition fwd.h:17
auto persistent(ValueT &&value)
Definition ttvalue.h:14