SlHelpers
Toggle main menu visibility
Loading...
Searching...
No Matches
CVE.h
1
// SPDX-License-Identifier: GPL-2.0-only
2
3
#pragma once
4
5
#include <optional>
6
#include <string_view>
7
8
namespace
SlCVEs {
9
13
class
CVE {
14
public
:
15
CVE() =
delete
;
16
22
static
std::optional<std::string_view>
getCVENumber
(std::string_view sv)
noexcept
;
23
};
24
25
}
SlCVEs::CVE::getCVENumber
static std::optional< std::string_view > getCVENumber(std::string_view sv) noexcept
Try to parse sv as a CVE number and return it.
include
cves
CVE.h
Generated by
1.17.0