11 #ifndef ASIO_DETAIL_TSS_PTR_HPP 12 #define ASIO_DETAIL_TSS_PTR_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 18 #include "asio/detail/config.hpp" 20 #if !defined(ASIO_HAS_THREADS) 21 # include "asio/detail/null_tss_ptr.hpp" 22 #elif defined(ASIO_HAS_THREAD_KEYWORD_EXTENSION) 23 # include "asio/detail/keyword_tss_ptr.hpp" 24 #elif defined(ASIO_WINDOWS) 25 # include "asio/detail/win_tss_ptr.hpp" 26 #elif defined(ASIO_HAS_PTHREADS) 27 # include "asio/detail/posix_tss_ptr.hpp" 29 # error Only Windows and POSIX are supported! 32 #include "asio/detail/push_options.hpp" 39 #if !defined(ASIO_HAS_THREADS)
41 #elif defined(ASIO_HAS_THREAD_KEYWORD_EXTENSION) 42 :
public keyword_tss_ptr<T>
43 #elif defined(ASIO_WINDOWS) 44 :
public win_tss_ptr<T>
45 #elif defined(ASIO_HAS_PTHREADS) 46 :
public posix_tss_ptr<T>
50 void operator=(T* value)
52 #if !defined(ASIO_HAS_THREADS) 54 #elif defined(ASIO_HAS_THREAD_KEYWORD_EXTENSION) 55 keyword_tss_ptr<T>::operator=(value);
56 #elif defined(ASIO_WINDOWS) 57 win_tss_ptr<T>::operator=(value);
58 #elif defined(ASIO_HAS_PTHREADS) 59 posix_tss_ptr<T>::operator=(value);
67 #include "asio/detail/pop_options.hpp" 69 #endif // ASIO_DETAIL_TSS_PTR_HPP Definition: null_tss_ptr.hpp:30
Definition: tss_ptr.hpp:38
Definition: any_io_executor.hpp:28