std_fwd.hpp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost
  4. // Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/interprocess for documentation.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #ifndef BOOST_INTERPROCESS_DETAIL_STD_FWD_HPP
  11. #define BOOST_INTERPROCESS_DETAIL_STD_FWD_HPP
  12. #ifndef BOOST_CONFIG_HPP
  13. # include <boost/config.hpp>
  14. #endif
  15. #
  16. #if defined(BOOST_HAS_PRAGMA_ONCE)
  17. # pragma once
  18. #endif
  19. //////////////////////////////////////////////////////////////////////////////
  20. // Standard predeclarations
  21. //////////////////////////////////////////////////////////////////////////////
  22. #include <boost/move/detail/std_ns_begin.hpp>
  23. BOOST_MOVE_STD_NS_BEG
  24. struct input_iterator_tag;
  25. struct forward_iterator_tag;
  26. struct bidirectional_iterator_tag;
  27. struct random_access_iterator_tag;
  28. template<class T>
  29. struct char_traits;
  30. #if defined(BOOST_MSVC) && (BOOST_MSVC >= 1800) &&defined(BOOST_DINKUMWARE_STDLIB)
  31. #define BOOST_INTERPROCESS_STD_FWD_MSVC_IOS_BUG
  32. // Compiler bug workaround. Previous versions (<= VC11)
  33. // used dummy virtual functions
  34. # pragma vtordisp(push, 2)
  35. #endif
  36. template<class CharT, class Traits>
  37. class basic_ostream;
  38. template<class CharT, class Traits>
  39. class basic_istream;
  40. #ifdef BOOST_INTERPROCESS_STD_FWD_MSVC_IOS_BUG
  41. # pragma vtordisp(pop)
  42. # undef BOOST_INTERPROCESS_STD_FWD_MSVC_IOS_BUG
  43. #endif
  44. BOOST_MOVE_STD_NS_END
  45. #include <boost/move/detail/std_ns_end.hpp>
  46. #endif //#ifndef BOOST_INTERPROCESS_DETAIL_STD_FWD_HPP