x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
distance.hpp - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\fusion\iterator\distance.hpp
Girar
Efecto
Propiedad
Historial
/*============================================================================= Copyright (c) 2001-2006 Joel de Guzman 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) ==============================================================================*/ #if !defined(FUSION_DISTANCE_09172005_0721) #define FUSION_DISTANCE_09172005_0721 #include
#include
#include
#include
#include
#include
namespace boost { namespace fusion { struct random_access_traversal_tag; // Special tags: struct iterator_facade_tag; // iterator facade tag struct array_iterator_tag; // boost::array iterator tag struct mpl_iterator_tag; // mpl sequence iterator tag struct std_pair_iterator_tag; // std::pair iterator tag namespace extension { template
struct distance_impl { // default implementation template
struct apply : distance_detail::linear_distance
{ BOOST_MPL_ASSERT_NOT((traits::is_random_access
)); BOOST_MPL_ASSERT_NOT((traits::is_random_access
)); }; }; template <> struct distance_impl
{ template
struct apply : First::template distance
{}; }; template <> struct distance_impl
; template <> struct distance_impl
; template <> struct distance_impl
; } namespace result_of { template
struct distance : extension::distance_impl
::type>:: template apply
{ typedef typename extension::distance_impl
::type>:: template apply
::type distance_application; BOOST_STATIC_CONSTANT(int, value = distance_application::value); }; } template
inline typename result_of::distance
::type distance(First const& a, Last const& b) { return result_of::distance
::call(a,b); } }} #endif
distance.hpp
Dirección de la página
Dirección del archivo
Anterior
3/9
Siguiente
Descargar
( 2 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.