[cfe-commits] [libcxx] r131408 - /libcxx/trunk/include/functional

Howard Hinnant hhinnant at apple.com
Mon May 16 09:19:01 PDT 2011


Author: hhinnant
Date: Mon May 16 11:19:01 2011
New Revision: 131408

URL: http://llvm.org/viewvc/llvm-project?rev=131408&view=rev
Log:
Supply missing move ctor in __bind_r, though this one will eventually be defaulted

Modified:
    libcxx/trunk/include/functional

Modified: libcxx/trunk/include/functional
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/functional?rev=131408&r1=131407&r2=131408&view=diff
==============================================================================
--- libcxx/trunk/include/functional (original)
+++ libcxx/trunk/include/functional Mon May 16 11:19:01 2011
@@ -1704,6 +1704,10 @@
 public:
     typedef _R result_type;
 
+    _LIBCPP_INLINE_VISIBILITY
+    __bind_r(__bind_r&& __b)
+        : base(_STD::move(__b)) {}
+
     template <class _G, class ..._BA>
       _LIBCPP_INLINE_VISIBILITY
       explicit __bind_r(_G&& __f, _BA&& ...__bound_args)





More information about the cfe-commits mailing list