MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / area

Method area

examples/src/json_traits_variant_examples.cpp:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 double area() const
148 {
149 constexpr double pi = 3.14159265358979323846;
150 return pi*radius_*radius_;
151 }
152 };
153
154 inline constexpr auto rectangle_marker = [](double) noexcept {return "rectangle"; };

Callers 1

distinguish_by_typeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected