diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-06-18 17:33:35 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-06-18 17:33:35 -0700 |
commit | e3c2cf74256daf8131f39631d349a9fa9cacacc2 (patch) | |
tree | cb6c1626f3e6ceea3e7d321cc754d43a99e9add0 /includes/c++11-surrogates.h | |
parent | c8894935485859b4f14dbf8be9d087e1d7399980 (diff) |
Adding basic CurlTask, as well as support for it in Balau. Also removing c++11-surrogates.h, as we're on a modern compiler now.
Diffstat (limited to 'includes/c++11-surrogates.h')
-rw-r--r-- | includes/c++11-surrogates.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/includes/c++11-surrogates.h b/includes/c++11-surrogates.h deleted file mode 100644 index 4f3a1a0..0000000 --- a/includes/c++11-surrogates.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -namespace Balau { - -template <typename T> struct RemoveReference { - typedef T type; -}; - -template <typename T> struct RemoveReference<T&> { - typedef T type; -}; - -template <typename T> struct RemoveReference<T&&> { - typedef T type; -}; - -template <typename T> typename RemoveReference<T>::type&& Move(T&& t) { - return static_cast<typename RemoveReference<T>::type&&>(t); -} - -}; |