3 ms·
How does this work with templates? If a type you pass into such a library causes a warning in that library, is that your fault or the library's? How could the c
by wfunction 9y ago
How does this work with templates? If a type you pass into such a library causes a warning in that library, is that your fault or the library's? How could the compiler possibly tell? It seems like this can't even work in principle if there are templates involved.
- humanrebar 9y agoThe warnings I've had issues with were warnings regardless of whether the code was templates: ignored return values, unused parameters, etc. There may be cases where the potential false negatives are unacceptable. Be judicious, but in my case the benefits far outweighed the risks. Of course, it's a great idea to provide upstream patches and issues whenever possible.