function.hh useful deprecation
Make the deprecation of function.hh
more useful
- Move it outside of inclusion guard so it triggers on every include (#186)
-
#undef
the disarming-define once it has suppressed a warning so the warning will fire again in the next include (#186) - Mention the dune version in the warning so we know when we can finally remove it
- deprecate also the individual classes and function in
function.hh
so it is easier to know what exactly to fix