MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / AsSigned

Method AsSigned

IntelPresentMon/CommonUtilities/log/ErrorCode.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 std::optional{ std::get<uint64_t>(integral_) } : std::nullopt;
34 }
35 std::optional<int64_t> ErrorCode::AsSigned() const {
36 return HasSigned() ?
37 std::optional{ std::get<int64_t>(integral_) } : std::nullopt;
38 }
39 bool ErrorCode::Empty() const
40 {
41 return std::holds_alternative<std::monostate>(integral_);

Callers 4

ResolveMethod · 0.80
ResolveMethod · 0.80
ErrorCodeArg_Class · 0.80
ResolveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected