aboutsummaryrefslogtreecommitdiff
path: root/butl/standard-version
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-27 21:56:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-28 12:08:14 +0300
commit55f115d875bf70305ca43e93761395b4329a23a6 (patch)
tree9b1d1f5384a1d267c2d98c849c92fb29ada66ea8 /butl/standard-version
parent5bb170316ebad036ee5b8b18dee7ce3d09c72df4 (diff)
Add standard_version_constraint::satisfies()
Diffstat (limited to 'butl/standard-version')
-rw-r--r--butl/standard-version3
1 files changed, 3 insertions, 0 deletions
diff --git a/butl/standard-version b/butl/standard-version
index 0c7b9bc..59056ac 100644
--- a/butl/standard-version
+++ b/butl/standard-version
@@ -181,6 +181,9 @@ namespace butl
bool
empty () const noexcept {return !min_version && !max_version;}
+
+ bool
+ satisfies (const standard_version&) const noexcept;
};
inline bool