diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-07-21 19:34:12 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-07-21 19:34:12 +0000 |
commit | 9d772d17b38786585474a69682bea1cae39f1ea6 (patch) | |
tree | c28ca0d1613fc0adcf13f55bd04110192fe920e9 /libcxx/include | |
parent | a4820bc4d576a41cde664999b334cf18caf9831e (diff) | |
download | bcm5719-llvm-9d772d17b38786585474a69682bea1cae39f1ea6.tar.gz bcm5719-llvm-9d772d17b38786585474a69682bea1cae39f1ea6.zip |
Apple LWG 2067: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3318.html#2067 . This is the only actionable change that has been made to the C++ draft since C++11. In general it has not been decided exactly how libc++ will track changes made to C++11. New features and design changes will probably be #ifdef'd, especially if they are not backwards compatible. Defects and 'dumb mistakes' are more likely to just be put in. Decisions on telling one from the other will be made on a case by case basis.
llvm-svn: 160608
Diffstat (limited to 'libcxx/include')
-rw-r--r-- | libcxx/include/future | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/include/future b/libcxx/include/future index fa8dd8a0d7d..9b768e37c8e 100644 --- a/libcxx/include/future +++ b/libcxx/include/future @@ -333,8 +333,8 @@ public: ~packaged_task(); // no copy - packaged_task(packaged_task&) = delete; - packaged_task& operator=(packaged_task&) = delete; + packaged_task(const packaged_task&) = delete; + packaged_task& operator=(const packaged_task&) = delete; // move support packaged_task(packaged_task&& other) noexcept; @@ -1953,8 +1953,8 @@ public: // ~packaged_task() = default; // no copy - packaged_task(packaged_task&) = delete; - packaged_task& operator=(packaged_task&) = delete; + packaged_task(const packaged_task&) = delete; + packaged_task& operator=(const packaged_task&) = delete; // move support _LIBCPP_INLINE_VISIBILITY @@ -2068,8 +2068,8 @@ public: // ~packaged_task() = default; // no copy - packaged_task(packaged_task&) = delete; - packaged_task& operator=(packaged_task&) = delete; + packaged_task(const packaged_task&) = delete; + packaged_task& operator=(const packaged_task&) = delete; // move support _LIBCPP_INLINE_VISIBILITY |