Skip to content
Snippets Groups Projects
user avatar
Guilherme Amadio authored
We would like to use, e.g. decltype(std::sin(std::declval<T>())) to get
the right return type, but the resulting mangled name creates ABI issues
with certain compilers. Since the rules are straightforward at least for
the math functions we intend to wrap, we can use custom rules that yield
the same return types as using decltype to avoid these issues.
9029f4e7
History
Name Last commit Last update