Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-10-21 01:13:09


Gavin Lambert wrote:
> And the static analysis tooling is a bit better now at spotting such things,
> though not perfect.

Not really.

https://godbolt.org/z/P8xb4Ern4
https://godbolt.org/z/Y56KnxGeT
https://godbolt.org/z/M7aGb7jq8
https://pdimov.github.io/blog/2020/05/17/state-of-c-static-analysis-circa-2020/
https://godbolt.org/z/Pba64YjYv

Well, there is https://godbolt.org/z/nz9Pvzfoj, I suppose.

Oh, -fanalyzer has improved: https://godbolt.org/z/xhnr88ah1

It wasn't very useful for C++ last I checked, but it works now.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk