diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-17 14:08:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-17 14:09:40 +0200 |
commit | a38c7a609c85b54b31e4a50c3da4d39b7a338c1d (patch) | |
tree | 7999c2ccef4d257a20ffb3f47746def8e08bb426 | |
parent | dc4ba51c218998a4f3b64d1681e66ddedf10c2f2 (diff) |
Add documentation comment
-rw-r--r-- | bpkg/manifest | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/manifest b/bpkg/manifest index 059d174..0bbb0dc 100644 --- a/bpkg/manifest +++ b/bpkg/manifest @@ -30,6 +30,9 @@ namespace bpkg // version (): epoch_ (0), revision_ (0) {} + // Throw std::invalid_argument if the passed string is not a valid + // version representation. + // explicit version (const std::string& v): version (v.c_str ()) /* Delegate */ {} |