Opened 12 years ago
Closed 12 years ago
#4390 closed Bugs (fixed)
uuid/string_generator.hpp incorrect documentation
Reported by: | Owned by: | Andy Tompkins | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | uuid |
Version: | Boost 1.43.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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
Change History (2)
comment:1 by , 12 years ago
Status: | new → assigned |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.