Re: How to make const a rtl::Static

2017-10-17 Thread Stephan Bergmann
On 10/15/2017 03:28 PM, Laurent BP wrote: I would like to make const a rtl::Static. I tryed: struct MyConstStatic : public rtl::Static {}; First of all, internal LO code no longer needs to use rtl::Static, as all relevant toolchains support C++11 "magic statics" by now. But now, how to init

How to make const a rtl::Static

2017-10-15 Thread Laurent BP
Hello, I would like to make const a rtl::Static. I tryed: struct MyConstStatic : public rtl::Static {}; But now, how to initialize it? How when it is an array like NfKeywordTable https://opengrok.libreoffice.org/xref/core/include/svl/nfkeytab.hxx#107 Thanks for your help. - LibreOffice 5.