Subject: [Boost-bugs] [Boost C++ Libraries] #6788: uuid test missing includes of <string>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-13 18:26:49
#6788: uuid test missing includes of <string>
----------------------------------------------------------+-----------------
Reporter: Stephen Clamage <stephen.clamage@â¦> | Owner: atompkins
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uuid
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
----------------------------------------------------------+-----------------
The files listed below include <stdexcept> and invoke std::runtime_error
with a literal string argument. The only standard runtime_error
constructor takes a std::string argument, so a string(const char*)
constructor is needed. Although <stdexcept> is allowed to include
<string>, it is not required to do so, and not all library implementations
do. Portable code must include <string> explicitly.
-- uuid/test/compile_name_generator.cpp
-- uuid/test/compile_random_generator.cpp
-- uuid/test/compile_seed_rng.cpp
-- uuid/test/test_random_generator.cpp
-- uuid/test/test_sha1.cpp
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6788> 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:50:09 UTC