diff options
Diffstat (limited to 'libbutl/standard-version.mxx')
-rw-r--r-- | libbutl/standard-version.mxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbutl/standard-version.mxx b/libbutl/standard-version.mxx index 6688237..d9e46c7 100644 --- a/libbutl/standard-version.mxx +++ b/libbutl/standard-version.mxx @@ -287,6 +287,8 @@ LIBBUTL_MODEXPORT namespace butl // ('^' | '~') <version> // ('(' | '[') <version> <version> (')' | ']') // + // The version may be `$` which refers to the dependent package version. + // struct LIBBUTL_SYMEXPORT standard_version_constraint { butl::optional<standard_version> min_version; @@ -299,6 +301,12 @@ LIBBUTL_MODEXPORT namespace butl explicit standard_version_constraint (const std::string&); + // As above but also completes the special `$` version using the specified + // dependent package version. + // + standard_version_constraint (const std::string&, + const standard_version& dependent_version); + // Throw std::invalid_argument if the specified version range is invalid. // standard_version_constraint ( |