Subject: [Boost-bugs] [Boost C++ Libraries] #2505: iostreams/test/grep_test.cpp assumes that ptrdiff_t is in the global namespace
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-11-17 00:00:58
#2505: iostreams/test/grep_test.cpp assumes that ptrdiff_t is in the global
namespace
------------------------------------------------------+---------------------
Reporter: Niklas Angare <li51ckf02_at_[hidden]> | Type: Bugs
Status: new | Milestone: Boost 1.38.0
Component: None | Version: Boost Development Trunk
Severity: Problem | Keywords:
------------------------------------------------------+---------------------
The patch adds std:: in front of ptrdiff_t. An alternative is to declare
count as std::string::difference_type. Both solutions work on QNX 6.4.0.
(According to the C++ standard, ptrdiff_t is in the std namespace (and
possibly in the global namespace also).)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2505> 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:59 UTC