Georg Baum wrote: > Peter Kümmel wrote: > >> My idea was to use some Loki code for singletons and global static data. > > I don't know Loki, so maybe I am missing something here, but I believe that > we already have everything needed.
Yes, we have C++. BTW, next time at a book shop, have a look at "Modern C++ Design" by Andrei Alexandrescu. >>> avoid global static data! >> Yes, maybe the remaining data could be centralized in one class which will >> be create and deleted at one place. We should avoid that creation and >> destruction is handled automatically by the compiler. > > That is easy: Just put all global static data in the LyX singleton. > > > Georg > -- Peter Kümmel
