#124 UUID::tryParse

closed
nobody
Foundation (22)
5
2012-09-14
2010-02-24
Anonymous
No

We've had a need of tentatively testing whether a string is a UUID or not, without resorting to exception handling.

I think tryParse() would be a welcome addition to the Poco::UUID interface. Attached is a patch, with tests.

Discussion

  • Apply to /poco/Foundation

     
    Attachments
  • Kim Gräsman
    Kim Gräsman
    2010-02-24

    Oops, forgot to log in when adding this.

     
  • fixed in 1.3.7, rev. 1362