[Boost-bugs] [Boost C++ Libraries] #4390: uuid/string_generator.hpp incorrect documentation

Subject: [Boost-bugs] [Boost C++ Libraries] #4390: uuid/string_generator.hpp incorrect documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-29 10:25:32


#4390: uuid/string_generator.hpp incorrect documentation
---------------------------+------------------------------------------------
 Reporter: usa@… | Owner: atompkins
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: uuid
  Version: Boost 1.43.0 | Severity: Cosmetic
 Keywords: |
---------------------------+------------------------------------------------
 Hello!

 In the documentation for string_generator there are two examples:

 boost::uuids::string_generator gen;
 boost::uuids::uuid u1 = gen("{01234567-89ab-cdef-0123456789abcdef}");
 boost::uuids::uuid u2 = gen(L"01234567-89ab-cdef-0123456789abcdef");

 Both will trigger an "std::runtime_error: invalid uuid string" exception.

 The strings are missing a dash and should be corrected to "01234567-89ab-
 cdef-0123-456789abcdef"

 Best regards
 Sönke Schau

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4390>
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:03 UTC