BVB Source Codes

mars Show current_function.hpp Source code

Return Download mars: download current_function.hpp Source code - Download mars Source code - Type:.hpp
  1. #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED
  2. #define BOOST_CURRENT_FUNCTION_HPP_INCLUDED
  3.  
  4. // MS compatible compilers support #pragma once
  5.  
  6. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  7. # pragma once
  8. #endif
  9.  
  10. //
  11. //  boost/current_function.hpp - BOOST_CURRENT_FUNCTION
  12. //
  13. //  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
  14. //
  15. //  Distributed under the Boost Software License, Version 1.0.
  16. //  See accompanying file LICENSE_1_0.txt or copy at
  17. //  http://www.boost.org/LICENSE_1_0.txt
  18. //
  19. //  http://www.boost.org/libs/assert/current_function.html
  20. //
  21.  
  22. namespace mars_boost {} namespace boost = mars_boost; namespace mars_boost
  23. {
  24.  
  25. namespace detail
  26. {
  27.  
  28. inline void current_function_helper()
  29. {
  30.  
  31. #if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__)
  32.  
  33. # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
  34.  
  35. #elif defined(__DMC__) && (__DMC__ >= 0x810)
  36.  
  37. # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
  38.  
  39. #elif defined(__FUNCSIG__)
  40.  
  41. # define BOOST_CURRENT_FUNCTION __FUNCSIG__
  42.  
  43. #elif (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 600)) || (defined(__IBMCPP__) && (__IBMCPP__ >= 500))
  44.  
  45. # define BOOST_CURRENT_FUNCTION __FUNCTION__
  46.  
  47. #elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
  48.  
  49. # define BOOST_CURRENT_FUNCTION __FUNC__
  50.  
  51. #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
  52.  
  53. # define BOOST_CURRENT_FUNCTION __func__
  54.  
  55. #elif defined(__cplusplus) && (__cplusplus >= 201103)
  56.  
  57. # define BOOST_CURRENT_FUNCTION __func__
  58.  
  59. #else
  60.  
  61. # define BOOST_CURRENT_FUNCTION "(unknown)"
  62.  
  63. #endif
  64.  
  65. }
  66.  
  67. } // namespace detail
  68.  
  69. } // namespace mars_boost
  70.  
  71. #endif // #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED
  72.  
downloadcurrent_function.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