<html>
    <head>
      <base href="https://bugs.documentfoundation.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - strip out non-trivial globals before main"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=38835#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - strip out non-trivial globals before main"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=38835">bug 38835</a>
              from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
        <pre>(In reply to Björn Michaelsen from <a href="show_bug.cgi?id=38835#c21">comment #21</a>)
<span class="quote">> Note that constants (currently either #defines or "static const ..." can --
> with C++11 -- be turned into constexprs:

>  <a href="http://en.cppreference.com/w/cpp/language/constexpr">http://en.cppreference.com/w/cpp/language/constexpr</a>

> which should be generally preferable.</span >

...but isn't available in MSVC 2013 (and reportedly only partially in MSVC
2015, aka MSVC 14, <<a href="http://en.cppreference.com/w/cpp/compiler_support">http://en.cppreference.com/w/cpp/compiler_support</a>>). 
That's why SAL_CONSTEXPR (include/sal/types.h), and can only use it in ways
that do not /require/ it to expand to "constexpr".</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>