• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright John Maddock 2001.
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
6//  See http://www.boost.org/libs/config for the most recent version.
7
8//  MACRO:         BOOST_NO_STRINGSTREAM
9//  TITLE:         <sstream>
10//  DESCRIPTION:   The C++ implementation does not provide the <sstream> header.
11
12#include <sstream>
13#include <string>
14
15namespace boost_no_stringstream{
16
17int test()
18{
19   std::stringstream ss;
20   ss << "abc";
21   std::string s = ss.str();
22   return (s != "abc");
23}
24
25}
26
27
28
29
30