/Src/Dependencies/Boost/boost/iostreams/operations_fwd.hpp

http://hadesmem.googlecode.com/ · C++ Header · 41 lines · 23 code · 13 blank · 5 comment · 1 complexity · 8bfd07a9ecb2c2feb3ce1e8bb86e9c39 MD5 · raw file

  1. // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
  2. // (C) Copyright 2003-2007 Jonathan Turkanis
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
  5. // See http://www.boost.org/libs/iostreams for documentation.
  6. #ifndef BOOST_IOSTREAMS_OPERATIONS_FWD_HPP_INCLUDED
  7. #define BOOST_IOSTREAMS_OPERATIONS_FWD_HPP_INCLUDED
  8. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  9. # pragma once
  10. #endif
  11. #include <boost/mpl/not.hpp>
  12. #include <boost/type_traits/is_base_and_derived.hpp>
  13. namespace boost { namespace iostreams {
  14. template<typename T>
  15. struct operations;
  16. namespace detail {
  17. struct custom_tag { };
  18. template<typename T>
  19. struct is_custom
  20. : mpl::not_<
  21. is_base_and_derived< custom_tag, operations<T> >
  22. >
  23. { };
  24. } // End namespace detail.
  25. template<typename T>
  26. struct operations : detail::custom_tag { };
  27. } } // End namespaces iostreams, boost.
  28. #endif // #ifndef BOOST_IOSTREAMS_OPERATIONS_FWD_HPP_INCLUDED //--------------//