[Boost-bugs] [Boost C++ Libraries] #1586: [logic] 'boolalpha' : is not a member of 'std'

Subject: [Boost-bugs] [Boost C++ Libraries] #1586: [logic] 'boolalpha' : is not a member of 'std'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-21 22:34:58


#1586: [logic] 'boolalpha' : is not a member of 'std'
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: logic
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 The [http://stdcxx.apache.org/ stdcxx] is the another implementation of
 the STL (initially based on RogueWave STL).

     The following errors are encountered when running boost regression
 tests on msvc with stdcxx-4.2.0.

 {{{
 ..\libs\logic\test\tribool_io_test.cpp(61) : error C2039: 'boolalpha' : is
 not a member of 'std'
 ..\libs\logic\test\tribool_io_test.cpp(61) : error C2065: 'boolalpha' :
 undeclared identifier
 ..\libs\logic\test\tribool_io_test.cpp(61) : error C2593: 'operator <<' is
 ambiguous
 }}}

   The proposed patch:


 {{{
 Index: libs/logic/test/tribool_io_test.cpp
 ===================================================================
 --- libs/logic/test/tribool_io_test.cpp (revision 42906)
 +++ libs/logic/test/tribool_io_test.cpp (working copy)
 @@ -8,6 +8,7 @@
  #include <sstream>
  #include <string>
  #include <iostream>
 +#include <ios> // for std::boolalpha

  #ifndef BOOST_NO_STD_LOCALE
  # include <locale>
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1586>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC