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
actions.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\lambda\detail\actions.hpp
Girar
Efecto
Propiedad
Historial
// -- Boost Lambda Library - actions.hpp ---------------------------------- // Copyright (C) 1999, 2000 Jaakko J�rvi (jaakko.jarvi@cs.utu.fi) // // 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) // For more information, see www.boost.org // ---------------------------------------------------------------- #ifndef BOOST_LAMBDA_ACTIONS_HPP #define BOOST_LAMBDA_ACTIONS_HPP namespace boost { namespace lambda { template
class action; // these need to be defined here, since the corresponding lambda // functions are members of lambda_functor classes class assignment_action {}; class subscript_action {}; template
class other_action; // action for specifying the explicit return type template
class explicit_return_type_action {}; // action for preventing the expansion of a lambda expression struct protect_action {}; // must be defined here, comma is a special case struct comma_action {}; // actions, for which the existence of protect is checked in return type // deduction. template
struct is_protectable { BOOST_STATIC_CONSTANT(bool, value = false); }; // NOTE: comma action is protectable. Other protectable actions // are listed in operator_actions.hpp template<> struct is_protectable
> { BOOST_STATIC_CONSTANT(bool, value = true); }; namespace detail { // this type is used in return type deductions to signal that deduction // did not find a result. It does not necessarily mean an error, it commonly // means that something else should be tried. class unspecified {}; } // function action is a special case: bind functions can be called with // the return type specialized explicitly e.g. bind
(foo); // If this call syntax is used, the return type is stored in the latter // argument of function_action template. Otherwise the argument gets the type // 'unspecified'. // This argument is only relevant in the return type deduction code template
class function_action {}; template
class function_action<1, T> { public: template
static RET apply(A1& a1) { return function_adaptor
::type>:: template apply
(a1); } }; template
class function_action<2, T> { public: template
static RET apply(A1& a1, A2& a2) { return function_adaptor
::type>:: template apply
(a1, a2); } }; template
class function_action<3, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3) { return function_adaptor
::type>:: template apply
(a1, a2, a3); } }; template
class function_action<4, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4); } }; template
class function_action<5, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4, a5); } }; template
class function_action<6, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4, a5, a6); } }; template
class function_action<7, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4, a5, a6, a7); } }; template
class function_action<8, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7, A8& a8) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4, a5, a6, a7, a8); } }; template
class function_action<9, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7, A8& a8, A9& a9) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4, a5, a6, a7, a8, a9); } }; template
class function_action<10, T> { public: template
static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7, A8& a8, A9& a9, A10& a10) { return function_adaptor
::type>:: template apply
(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); } }; } // namespace lambda } // namespace boost #endif
actions.hpp
Dirección de la página
Dirección del archivo
Anterior 1/20
Siguiente
Descargar
( 5 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.