summaryrefslogtreecommitdiff
path: root/stdcpp.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-31 00:31:16 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-31 00:31:16 -0400
commit2d82901165048b61e0e9814a5e12c7b76f6438d4 (patch)
tree09adbaa68540f2d7f7f0769f19ce11bbfed1f132 /stdcpp.h
parente9c086aaac1a68a03a711d12058cd42673fcd1cd (diff)
downloadcryptopp-git-2d82901165048b61e0e9814a5e12c7b76f6438d4.tar.gz
Added <utility> based on C++11 for R-values and std::move
Diffstat (limited to 'stdcpp.h')
-rw-r--r--stdcpp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdcpp.h b/stdcpp.h
index 517d1089..2d149592 100644
--- a/stdcpp.h
+++ b/stdcpp.h
@@ -28,6 +28,11 @@
#include <algorithm>
#include <functional>
+// R-value references and std::move
+#if defined(__cplusplus >= 201103L)
+# include <utility>
+#endif
+
#ifdef CRYPTOPP_INCLUDE_VECTOR_CC
// workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
#include <vector.cc>