Sha256: 62151549c9171f7d1a692301edcd5f426facbdbb19af54e4a7771b062491fd42
Contents?: true
Size: 1.01 KB
Versions: 16
Compression:
Stored size: 1.01 KB
Contents
// // gettable_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_GETTABLE_SOCKET_OPTION_HPP #define ARCHETYPES_GETTABLE_SOCKET_OPTION_HPP #include <cstddef> namespace archetypes { template <typename PointerType> class gettable_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> PointerType* data(const Protocol&) { return 0; } template <typename Protocol> std::size_t size(const Protocol&) const { return 0; } template <typename Protocol> void resize(const Protocol&, std::size_t) { } }; } // namespace archetypes #endif // ARCHETYPES_GETTABLE_SOCKET_OPTION_HPP
Version data entries
16 entries across 16 versions & 1 rubygems