-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
optional-lite/include/nonstd/optional.hpp
Line 1558 in 0723abd
contained.construct_value( std::move( value ) ); |
I'm getting a warning for the following line: "std::move" shouldn't be called on a forwarding reference. Replace it with "std::forward"
Is this actually a problem? I'm guessing it's not, because the other overload of initialize
will get used for l-value references, so any calls to this one would have to be for r-value references? Is that right?
Metadata
Metadata
Assignees
Labels
No labels