On 11/28/2011 3:41 AM, Alexey Veselovsky wrote: > ok. What about: > > struct Foo { > int a; > int b; > // 100 more fields > ... > void foo(); > } > > Did I must write in implementation all this 100+ fields in implementation? Yes. (Unless you decide to use the PIMPL idiom.)