Werner LEMBERG <w...@gnu.org> wrote: |> Because it consumes space in BSS, or DATA -- and then even causing |> linker work upon loading time, even if never used. |> A program with a DATA section is shit ;) | |Well, I don't care :-) groff uses static constructors to initialize |some of the global variables, this is a very nice and elegant feature |of C++.
Yes i have seen so already. And oh no, i personally hate it from the bottom of my heart. It has led to obscenities like automatic injection of class instantiations from within headers into each using compilation unit etc. I favour blood, sweat and tears instead. Just like old Rolls Royce where a craftsman had to hammer for three days until a single fender was formed. --steffen