We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2d0438 + dffee19 commit 3f7463bCopy full SHA for 3f7463b
source/stop_token.hpp
@@ -14,22 +14,6 @@
14
#endif
15
16
namespace std {
17
-
18
-#if __cplusplus <= 201703L
19
-// workaround for non-existing unwrap_reference:
20
-template<typename T>
21
-struct unwrap_reference {
22
- using type = T;
23
-};
24
25
26
-struct unwrap_reference<std::reference_wrapper<T>> {
27
- using type = T&;
28
29
30
-template<class T> using unwrap_reference_t = typename unwrap_reference<T>::type;
31
-#endif
32
33
inline void __spin_yield() noexcept {
34
// TODO: Platform-specific code here
35
#if defined(__x86_64__) || defined(_M_X64)
0 commit comments