BVB Source Codes

mars Show unpack_args.hpp Source code

Return Download mars: download unpack_args.hpp Source code - Download mars Source code - Type:.hpp
  1.  
  2. // Copyright Aleksey Gurtovoy 2002-2004
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8.  
  9. // Preprocessed version of "boost/mpl/unpack_args.hpp" header
  10. // -- DO NOT modify by hand!
  11.  
  12. namespace mars_boost {} namespace boost = mars_boost; namespace mars_boost { namespace mpl {
  13.  
  14. namespace aux {
  15.  
  16. template< int size, typename F, typename Args >
  17. struct unpack_args_impl;
  18.  
  19. template< typename F, typename Args >
  20. struct unpack_args_impl< 0,F,Args >
  21.     : apply0<
  22.           F
  23.         >
  24. {
  25. };
  26.  
  27. template< typename F, typename Args >
  28. struct unpack_args_impl< 1,F,Args >
  29.     : apply1<
  30.           F
  31.         , typename at_c< Args,0 >::type
  32.         >
  33. {
  34. };
  35.  
  36. template< typename F, typename Args >
  37. struct unpack_args_impl< 2,F,Args >
  38.     : apply2<
  39.           F
  40.         , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
  41.         >
  42. {
  43. };
  44.  
  45. template< typename F, typename Args >
  46. struct unpack_args_impl< 3,F,Args >
  47.     : apply3<
  48.           F
  49.         , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
  50.         , typename at_c< Args,2 >::type
  51.         >
  52. {
  53. };
  54.  
  55. template< typename F, typename Args >
  56. struct unpack_args_impl< 4,F,Args >
  57.     : apply4<
  58.           F
  59.         , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
  60.         , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
  61.         >
  62. {
  63. };
  64.  
  65. template< typename F, typename Args >
  66. struct unpack_args_impl< 5,F,Args >
  67.     : apply5<
  68.           F
  69.         , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
  70.         , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
  71.         , typename at_c< Args,4 >::type
  72.         >
  73. {
  74. };
  75.  
  76. }
  77.  
  78. template<
  79.       typename F
  80.     >
  81. struct unpack_args
  82. {
  83.     template< typename Args > struct apply
  84.     {
  85.         typedef typename aux::unpack_args_impl<
  86.               size<Args>::value
  87.             , F
  88.             , Args
  89.             >::type type;
  90.  
  91.     };
  92. };
  93.  
  94. BOOST_MPL_AUX_PASS_THROUGH_LAMBDA_SPEC(1, unpack_args)
  95.  
  96. }}
  97.  
  98.  
downloadunpack_args.hpp Source code - Download mars Source code
Related Source Codes/Software:
Hero - Elegant transition library for iOS & tvOS 2017-06-09
deep-photo-styletransfer - Code and data for paper "Deep Photo Style Transfer... 2017-06-09
mastodon - A GNU Social-compatible microblogging server ... 2017-06-09
plyr - A simple HTML5, YouTube and Vimeo player ... 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
Public-APIs - 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
lectures - Oxford Deep NLP 2017 course 2017-06-10
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top