From a38c7a609c85b54b31e4a50c3da4d39b7a338c1d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2015 14:08:43 +0200 Subject: Add documentation comment --- bpkg/manifest | 3 +++ 1 file changed, 3 insertions(+) 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 */ {} -- cgit v1.1