ttg
1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
ttg
ttg
util
macro.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-3-Clause
2
#ifndef TTG_UTIL_MACRO_H
3
#define TTG_UTIL_MACRO_H
4
5
6
/* Used to suppres compiler warnings on unused variables */
7
#define TTGUNUSED(x) ((void)(x))
8
9
10
// pattern from https://www.fluentcpp.com/2017/10/27/function-aliases-cpp/
11
#define TTG_UTIL_ALIAS_TEMPLATE_FUNCTION(aliasname,funcname)\
12
template<typename... Args> \
13
inline auto aliasname(Args&&... args) \
14
{ \
15
return funcname(std::forward<Args>(args)...); \
16
}
17
18
#endif
// TTG_UTIL_MACRO_H
Generated at Mon Nov 24 2025 13:41:21 for
ttg
1.0.0 by
1.9.8