#ifndef BOOST_NETWORK_SUPPORT_IS_KEEPALIVE_HPP_20100927
#define BOOST_NETWORK_SUPPORT_IS_KEEPALIVE_HPP_20100927

// Copyright 2010 (c) Dean Michael Berris
// 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)

#include <boost/network/tags.hpp>
#include <boost/utility/enable_if.hpp>

namespace boost { namespace network {
    
    template <class Tag, class Enable = void>
    struct is_keepalive : mpl::false_ {};
    
    template <class Tag>
    struct is_keepalive<Tag, typename enable_if<typename Tag::is_keepalive>::type> : mpl::true_ {};
    
} /* network */
    
} /* boost */

#endif /* BOOST_NETWORK_SUPPORT_IS_KEEPALIVE_HPP_20100927 */
