Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Extra-Creativity/Modern-Cpp-Basics
/ Sum
Method
Sum
15-Memory Management/code/pimpl/test.cpp:42–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
SomeComplexClass::~SomeComplexClass() = default;
41
42
float SomeComplexClass::Sum() const noexcept
43
{
44
return static_cast<float>(impl_->a) + impl_->b;
45
}
46
47
float SomeComplexClass::Prod() const noexcept
48
{
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected