[Libreoffice-bugs] [Bug 38835] strip out non-trivial globals before main

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 3 01:00:06 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=38835

ibarkleyyeung at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibarkleyyeung at gmail.com

--- Comment #52 from ibarkleyyeung at gmail.com ---
Quick question, is comment 9 still valid?

That is, is LibreOffice still supposed to be compatible with C++03? I don't
know what the minimum C++ version is across the various compilers. Is the C++
version documented somewhere? 

I see uses of unique_ptr and unordered_map, so I'm assuming at least C++11. And
C++11 ensures function-local statics are initialized exactly once even if
multiple threads call the function. 

Just checking before I make a change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200503/569e4596/attachment.htm>


More information about the Libreoffice-bugs mailing list