Open xparq opened 10 months ago
https://www.reddit.com/r/cpp/comments/53xb52/comment/d7x627s/?utm_source=reddit&utm_medium=web2x&context=3
You can use the gcc flag -Wsuggest-final-types and -Wsuggest-final-methods . Compile in -O3 with -flto. Gcc will tell you which classes could be devirtualized if they are marked final.
Requires #195 (GCC build)
https://www.reddit.com/r/cpp/comments/53xb52/comment/d7x627s/?utm_source=reddit&utm_medium=web2x&context=3
Requires #195 (GCC build)