// // 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 namespace archetypes { template class gettable_socket_option { public: template int level(const Protocol&) const { return 0; } template int name(const Protocol&) const { return 0; } template PointerType* data(const Protocol&) { return 0; } template std::size_t size(const Protocol&) const { return 0; } template void resize(const Protocol&, std::size_t) { } }; } // namespace archetypes #endif // ARCHETYPES_GETTABLE_SOCKET_OPTION_HPP