11 #ifndef ASIO_USE_FUTURE_HPP 12 #define ASIO_USE_FUTURE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 40 template <
typename Allocator = std::allocator<
void> >
55 : allocator_(allocator)
60 template <
typename OtherAllocator>
80 #if defined(ASIO_HAS_CONSTEXPR) || defined(GENERATING_DOCUMENTATION) 82 #elif defined(ASIO_MSVC) 92 #endif // ASIO_USE_FUTURE_HPP Class used to specify that an asynchronous operation should return a future.
ASIO_CONSTEXPR use_future_t()
Construct using default-constructed allocator.
use_future_t< OtherAllocator > operator[](const OtherAllocator &allocator) const
Specify an alternate allocator.
allocator_type get_allocator() const
Obtain allocator.
use_future_t(const Allocator &allocator)
Construct using specified allocator.