[Dune-devel] How to proceed with deprecation of DUNE_UNUSED_PARAM?

Ansgar Burchardt ansgar.burchardt at tu-dresden.de
Thu Mar 25 12:30:30 CET 2021


Markus Blatt wrote:
> FYI, there are also other issues:
> 
> E.g. for this
> 
> std::map map_;
> for( const auto& [key, val] : map_)
> 
>   ...
> 
> there is no standard way of just marking one of the extracts as
> unused.

I think it is fine to just mark both as potentially unused in this
case.

Ansgar






More information about the Dune-devel mailing list