Re: [Boost-bugs] [Boost C++ Libraries] #1068: Mersenne twister disables streaming for Visual C++

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1068: Mersenne twister disables streaming for Visual C++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-24 00:40:16


#1068: Mersenne twister disables streaming for Visual C++
----------------------------------+-----------------------------------------
  Reporter: s.somani_at_[hidden] | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: random
   Version: | Severity: Problem
Resolution: | Keywords:
----------------------------------+-----------------------------------------
Comment (by Richard Webb <richard.webb_at_[hidden]>):

 This also seems to be the case for uniform_int - removing the
 {{{
 #if !defined(BOOST_NO_OPERATORS_IN_NAMESPACE) &&
 !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
 }}}

 around the streaming operators in uniform_int.hpp allows me to stream a
 uniform_int in and out of a std::stringstream in both VC7.1/VC8.

 I haven't tried doing this with any other Random classes yet - might be
 worth a try to see what happens though.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1068#comment:1>
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