Sha256: 6439c333a9bbd72c4e70bec6a40dd51a4248261442f360888ed2155f622cc257

Contents?: true

Size: 934 Bytes

Versions: 5

Compression:

Stored size: 934 Bytes

Contents

#ifndef BOOST_MPL_SINGLE_VIEW_HPP_INCLUDED
#define BOOST_MPL_SINGLE_VIEW_HPP_INCLUDED

// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.

// $Source: /cvsroot/boost/boost/boost/mpl/single_view.hpp,v $
// $Date: 2004/11/28 01:58:03 $
// $Revision: 1.4 $

#include <boost/mpl/aux_/single_element_iter.hpp>
#include <boost/mpl/iterator_range.hpp>
#include <boost/mpl/aux_/na_spec.hpp>

namespace boost { namespace mpl {

template<
      typename BOOST_MPL_AUX_NA_PARAM(T)
    >
struct single_view
    : iterator_range<
          aux::sel_iter<T,0>
        , aux::sel_iter<T,1>
        >
{
};

BOOST_MPL_AUX_NA_SPEC_NO_ETI(1, single_view)

}}

#endif // BOOST_MPL_SINGLE_VIEW_HPP_INCLUDED

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
passenger-1.0.1 ext/boost/mpl/single_view.hpp
passenger-1.0.2 ext/boost/mpl/single_view.hpp
passenger-1.0.3 ext/boost/mpl/single_view.hpp
passenger-1.0.5 ext/boost/mpl/single_view.hpp
passenger-1.0.4 ext/boost/mpl/single_view.hpp