I
Ioannis Vranos
AFAIK most (all?) compilers create instances of all member functions of a class even if some of them are not
used, an instances of all regular functions even if some of them are not used.
At the same time, in the case of template functions, only instances that are used are created.
Why a compiler can not create instances *only* of the regular functions, and of the member functions of a
class that are used?
Thanks.
--
Ioannis A. Vranos
C95 / C++03 Developer
http://www.cpp-software.net
used, an instances of all regular functions even if some of them are not used.
At the same time, in the case of template functions, only instances that are used are created.
Why a compiler can not create instances *only* of the regular functions, and of the member functions of a
class that are used?
Thanks.
--
Ioannis A. Vranos
C95 / C++03 Developer
http://www.cpp-software.net