as_sequence.hpp
来自「CGAL is a collaborative effort of severa」· HPP 代码 · 共 39 行
HPP
39 行
#ifndef BOOST_MPL_AS_SEQUENCE_HPP_INCLUDED#define BOOST_MPL_AS_SEQUENCE_HPP_INCLUDED// Copyright Aleksey Gurtovoy 2002-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/CGAL/Packages/Boost/include/boost/mpl/as_sequence.hpp,v $// $Date: 2004/11/20 10:39:13 $// $Revision: 1.1.1.2 $#include <boost/mpl/is_sequence.hpp>#include <boost/mpl/single_view.hpp>#include <boost/mpl/if.hpp>#include <boost/mpl/aux_/na_spec.hpp>#include <boost/mpl/aux_/lambda_support.hpp>namespace boost { namespace mpl {template< typename BOOST_MPL_AUX_NA_PARAM(T) >struct as_sequence : if_< is_sequence<T>, T, single_view<T> >{ BOOST_MPL_AUX_LAMBDA_SUPPORT(1,as_sequence,(T))};BOOST_MPL_AUX_NA_SPEC_NO_ETI(1, as_sequence)}}#endif // BOOST_MPL_AS_SEQUENCE_HPP_INCLUDED
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?