boost_no_template_streams.ipp 639 B

1234567891011121314151617181920212223242526272829
  1. // (C) Copyright John Maddock 2008.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for most recent version.
  6. // MACRO: BOOST_NO_TEMPLATED_IOSTREAMS
  7. // TITLE: basic_iostream<>
  8. // DESCRIPTION: The platform supports "new style" templated iostreams.
  9. #include <iostream>
  10. namespace boost_no_templated_iostreams{
  11. int test()
  12. {
  13. std::basic_ostream<char, std::char_traits<char> >& osr = std::cout;
  14. (void)osr;
  15. return 0;
  16. }
  17. }