<div dir="ltr"><div><div>I'm referring to the const used after methods (<span style="font-family:monospace,monospace">struct { int f() const; }</span>).<br><br></div>Here is an example : <a href="https://ideone.com/C28SMn" target="_blank">https://ideone.com/C28SMn</a><br><br></div>Best regards :)<br><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><br></div><br></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 3, 2015 at 7:20 PM, Stephen Kelly <span dir="ltr"><<a href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Jean-MichaĆ«l Celerier wrote:<br>
<br>
>> Qt 5 provides a macro for this context which expands to either 'const' or<br>
> 'constexpr' depending on whether cxx_constexpr is available, and another<br>
> macro which expands to either 'const' or 'constexpr' depending on whether<br>
> cxx_relaxed_constexpr is available.<br>
><br>
> Thinking of it, since C++14 constexpr does not imply const anymore, so<br>
> isn't this macro ambiguous wrt standard c++ ?<br>
><br>
<br>
</span>The 'const' keyword can be used in multiple contexts. Can you clarify which<br>
you mean with a reference to some document?<br>
<br>
Thanks,<br>
<div><div><br>
Steve.<br>
<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake-developers</a></div></div></blockquote></div><br></div></div>