Sha256: bc686c603c487acb8baa080a40e4be3305e65c3655723f41e6d9719f0a202655

Contents?: true

Size: 967 Bytes

Versions: 16

Compression:

Stored size: 967 Bytes

Contents

//
// settable_socket_option.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//

#ifndef ARCHETYPES_SETTABLE_SOCKET_OPTION_HPP
#define ARCHETYPES_SETTABLE_SOCKET_OPTION_HPP

#include <cstddef>

namespace archetypes {

template <typename PointerType>
class settable_socket_option
{
public:
  template <typename Protocol>
  int level(const Protocol&) const
  {
    return 0;
  }

  template <typename Protocol>
  int name(const Protocol&) const
  {
    return 0;
  }

  template <typename Protocol>
  const PointerType* data(const Protocol&) const
  {
    return 0;
  }

  template <typename Protocol>
  std::size_t size(const Protocol&) const
  {
    return 0;
  }
};

} // namespace archetypes

#endif // ARCHETYPES_SETTABLE_SOCKET_OPTION_HPP

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.4 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.3 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.2 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp
couchbase-3.0.0.alpha.1 ext/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp