在 2018/8/20 4:10, Matheus Izvekov 写道:
Thanks for the review.
Next revision attached, addressing Liu Hao's concerns.
Thanks. Pushed to master.
Reminder:
Since C++17 `constexpr` implies `inline` not only for functions, but
also for variables, so a `static constexpr` class member no longer
requires a definition, while prior to C++17 returning a reference to
such variables would end up in undefined references. However, it is
practically bad to return a `const` reference for a `constexpr`
function. Returning by value is preferred.
--
Best regards,
LH_Mouse
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public