We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unmove()
1 parent e59ec45 commit 8725e8dCopy full SHA for 8725e8d
inst/include/cpp11/declarations.hpp
@@ -13,6 +13,12 @@ using namespace ::cpp11;
13
#include <R_ext/Rdynload.h>
14
15
namespace cpp11 {
16
+// No longer used, but was previously used in `code.cpp` code generation in cpp11 0.1.0.
17
+// `code.cpp` could be generated with cpp11 0.1.0, but the package could be compiled with
18
+// cpp11 >0.1.0, so `unmove()` must exist in newer cpp11 too. Eventually remove this once
19
+// we decide enough time has gone by since `unmove()` was removed.
20
+// https://github.com/r-lib/cpp11/issues/88
21
+// https://github.com/r-lib/cpp11/pull/75
22
template <class T>
23
T& unmove(T&& t) {
24
return t;
0 commit comments