When working in C it was common for me to build libraries of useful functions. Generally, to facilitate smart linking each function would be in it's own source page producing a granularity of one function per object.
Am I correct in assuming the minimum object size in C++ is 1 class, in that each class can be in it's own object but that all methods of that class have to be in the same object... so the granularity, within the larger library, is 1 class per object, not one method per object?



LinkBack URL
About LinkBacks



