BVB Source Codes

mars Show function.hpp Source code

Return Download mars: download function.hpp Source code - Download mars Source code - Type:.hpp
  1. // Boost.Function library
  2.  
  3. //  Copyright Douglas Gregor 2001-2003. Use, modification and
  4. //  distribution is subject to the Boost Software License, Version
  5. //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. //  http://www.boost.org/LICENSE_1_0.txt)
  7.  
  8. // For more information, see http://www.boost.org/libs/function
  9.  
  10. // William Kempf, Jesse Jones and Karl Nelson were all very helpful in the
  11. // design of this library.
  12.  
  13. #include <functional> // unary_function, binary_function
  14.  
  15. #include <boost/preprocessor/iterate.hpp>
  16. #include <boost/detail/workaround.hpp>
  17.  
  18. #ifndef BOOST_FUNCTION_MAX_ARGS
  19. #  define BOOST_FUNCTION_MAX_ARGS 10
  20. #endif // BOOST_FUNCTION_MAX_ARGS
  21.  
  22. // Include the prologue here so that the use of file-level iteration
  23. // in anything that may be included by function_template.hpp doesn't break
  24. #include <boost/function/detail/prologue.hpp>
  25.  
  26. // Older Visual Age C++ version do not handle the file iteration well
  27. #if BOOST_WORKAROUND(__IBMCPP__, >= 500) && BOOST_WORKAROUND(__IBMCPP__, < 800)
  28. #  if BOOST_FUNCTION_MAX_ARGS >= 0
  29. #    include <boost/function/function0.hpp>
  30. #  endif
  31. #  if BOOST_FUNCTION_MAX_ARGS >= 1
  32. #    include <boost/function/function1.hpp>
  33. #  endif
  34. #  if BOOST_FUNCTION_MAX_ARGS >= 2
  35. #    include <boost/function/function2.hpp>
  36. #  endif
  37. #  if BOOST_FUNCTION_MAX_ARGS >= 3
  38. #    include <boost/function/function3.hpp>
  39. #  endif
  40. #  if BOOST_FUNCTION_MAX_ARGS >= 4
  41. #    include <boost/function/function4.hpp>
  42. #  endif
  43. #  if BOOST_FUNCTION_MAX_ARGS >= 5
  44. #    include <boost/function/function5.hpp>
  45. #  endif
  46. #  if BOOST_FUNCTION_MAX_ARGS >= 6
  47. #    include <boost/function/function6.hpp>
  48. #  endif
  49. #  if BOOST_FUNCTION_MAX_ARGS >= 7
  50. #    include <boost/function/function7.hpp>
  51. #  endif
  52. #  if BOOST_FUNCTION_MAX_ARGS >= 8
  53. #    include <boost/function/function8.hpp>
  54. #  endif
  55. #  if BOOST_FUNCTION_MAX_ARGS >= 9
  56. #    include <boost/function/function9.hpp>
  57. #  endif
  58. #  if BOOST_FUNCTION_MAX_ARGS >= 10
  59. #    include <boost/function/function10.hpp>
  60. #  endif
  61. #else
  62. // What is the '3' for?
  63. #  define BOOST_PP_ITERATION_PARAMS_1 (3,(0,BOOST_FUNCTION_MAX_ARGS,<boost/function/detail/function_iterate.hpp>))
  64. #  include BOOST_PP_ITERATE()
  65. #  undef BOOST_PP_ITERATION_PARAMS_1
  66. #endif
  67.  
downloadfunction.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