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
map_lookup.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\container\map\detail\map_lookup.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) ==============================================================================*/ #ifndef BOOST_PP_IS_ITERATING #if !defined(FUSION_MAP_LOOKUP_07212005_1118) #define FUSION_MAP_LOOKUP_07212005_1118 #include
#include
#include
#include
#include
#if defined(BOOST_MSVC) && (BOOST_MSVC == 1310) #pragma warning (push) #pragma warning(disable: 4348) // redefinition of default parameter #endif template
struct meta_at_impl { typedef void_ type; }; template
struct meta_find_impl { typedef vector_iterator
type; }; template
struct meta_find_impl_const { typedef vector_iterator
type; }; template
vector_iterator
find_impl(mpl::identity
) const { return vector_iterator
(data); } template
vector_iterator
find_impl(mpl::identity
) { return vector_iterator
(data); } #define BOOST_PP_FILENAME_1 \
#define BOOST_PP_ITERATION_LIMITS (0, BOOST_PP_DEC(FUSION_MAX_MAP_SIZE)) #include BOOST_PP_ITERATE() #if defined(BOOST_MSVC) && (BOOST_MSVC == 1310) #pragma warning (pop) #endif #endif #else // defined(BOOST_PP_IS_ITERATING) /////////////////////////////////////////////////////////////////////////////// // // Preprocessor vertical repetition code // /////////////////////////////////////////////////////////////////////////////// #define N BOOST_PP_ITERATION() template
struct meta_at_impl< typename detail::map_key_type
::type, dummy> { typedef typename detail::map_value_type
::type type; }; typename detail::map_data_type
::type at_impl(mpl::identity
::type>) { return detail::map_lookup_key< N , typename detail::map_data_type
::type , typename detail::map_key_type
::type , storage_type>::call(data); } typename detail::map_const_data_type
::type at_impl(mpl::identity
::type>) const { return detail::map_lookup_key< N , typename detail::map_const_data_type
::type , typename detail::map_key_type
::type , storage_type const>::call(data); } template
struct meta_find_impl< typename detail::map_key_type
::type, dummy> { typedef vector_iterator
type; }; template
struct meta_find_impl_const< typename detail::map_key_type
::type, dummy> { typedef vector_iterator
type; }; vector_iterator
find_impl(mpl::identity
::type>) { return vector_iterator
(data); } vector_iterator
find_impl(mpl::identity
::type>) const { return vector_iterator
(data); } #undef N #endif // defined(BOOST_PP_IS_ITERATING)
map_lookup.hpp
Dirección de la página
Dirección del archivo
Anterior
8/9
Siguiente
Descargar
( 4 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.