Skip to content
Snippets Groups Projects
Commit 87e1da6f authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Find std math functions by ADL

ADOL-C implements most standard math functions for its
'adouble' type, and they are not in the namespace 'std'.
dune-fufem contains a file adolcnamespaceinjections.hh
which imports some of these methods into the 'std'
namespace, but that is not the proper way to do it.
Rather, they should be found by argument-dependent
lookup (ADL), that is

  using std::sin;
  auto v = sin(x);
parent 7b0e339e
No related branches found
No related tags found
1 merge request!67Modernize rod code
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment