Re: Policy on forward declarations for things from external libraries

2020-08-03 Thread Harald Sitter
On Fri, Jul 31, 2020 at 5:56 PM Vlad Zahorodnii wrote: > > Howdy, > > From time to time, I find myself in a situation where a code reviewer > suggests to replace #include with the corresponding class > forward declaration. Such discussions usually get us nowhere because > neither the code

Policy on forward declarations for things from external libraries

2020-07-31 Thread Vlad Zahorodnii
Howdy, From time to time, I find myself in a situation where a code reviewer suggests to replace #include with the corresponding class forward declaration. Such discussions usually get us nowhere because neither the code reviewer nor I mind to seek for a compromise. A policy would prevent