summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-11-26 01:13:36 +0600
committervalmat <ufabiz@gmail.com>2014-11-26 01:13:36 +0600
commit7320131b8caada0e7237e33ef4e0340577627ef4 (patch)
treeff8eb589c6c5390f1380115403e6140d1bd9e118 /include/value.h
parentcf25fa0b9636d232c63f01824d66289ab9a89b81 (diff)
Marked `noexcept` all move constructors and assigment operators
See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/value.h b/include/value.h
index d6f8da6..eef06cb 100644
--- a/include/value.h
+++ b/include/value.h
@@ -130,7 +130,7 @@ public:
* Move constructor
* @param value
*/
- Value(Value &&that);
+ Value(Value &&that) noexcept;
/**
* Destructor
@@ -142,7 +142,7 @@ public:
* @param value
* @return Value
*/
- Value &operator=(Value &&value);
+ Value &operator=(Value &&value) noexcept;
/**
* Assignment operator for various types