"rvalue references: Implicit move method generation cannot be used"?

2015-05-17 Thread gsquelart
In Using C++ in Mozilla code ( https://developer.mozilla.org/en-US/docs/Using_CXX_in_Mozilla_code ) there is this note: """rvalue references: Implicit move method generation cannot be used""" First written before Aug 2013, updated by Jcranmer on January 26, 2015 Could we get more details please,

Re: NS_LITERAL_CSTRING

2015-05-17 Thread Neil
FYI The patch to make NS_LITERAL_CSTRING only work with string literals (and preprocessor macros that expand to string literals) has now been merged to mozilla-central. -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform

Re: "rvalue references: Implicit move method generation cannot be used"?

2015-05-17 Thread gsquelart
Just found this: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3153.htm Showing that implicit move can have adverse effects, especially when blindly applied to pre-C++11 code. Could it be why MS doesn't want to implement it? '=default' should theoretically be fine, since the developer