Helper class for CVE numbers.
More...
#include <CVE.h>
|
| static std::optional< std::string_view > | getCVENumber (std::string_view sv) noexcept |
| | Try to parse sv as a CVE number and return it.
|
Helper class for CVE numbers.
◆ getCVENumber()
| std::optional< std::string_view > SlCVEs::CVE::getCVENumber |
( |
std::string_view | sv | ) |
|
|
staticnoexcept |
Try to parse sv as a CVE number and return it.
- Parameters
-
- Returns
- CVE number or nullopt on failure to parse
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/cves/CVE.h