Changes between Initial Version and Version 1 of Ticket #58347, comment 9


Ignore:
Timestamp:
Apr 18, 2019, 10:31:21 AM (5 years ago)
Author:
Ionic (Mihai Moldovan)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58347, comment 9

    initial v1  
    11Turns out michaelld was probably right - `std::forward` is constexpr since C++14, which is needed here. Not sure why that code would compile in C++11 mode even with newer clang versions (or, for that matter, g++), since it should be non-constexpr in C++11 mode.
     2
     3Edit: probably because marking something constexpr has no negative side-effects, so it doesn't have to done conditionally. That's just a guess, though.