CMakeTutorialStep1 2.3.12
Loading...
Searching...
No Matches
tutorial::Price Struct Reference

价格强类型(整型分),避免与 Quantity 静默混用 More...

#include <ModernParadigm.hxx>

Public Attributes

std::int64_t cents {}

Friends

constexpr bool operator== (Price, Price)=default

Detailed Description

价格强类型(整型分),避免与 Quantity 静默混用

◆ operator==

bool operator== ( Price ,
Price  )
friend

Member Data Documentation

◆ cents

std::int64_t tutorial::Price::cents {}

The documentation for this struct was generated from the following file:
  • /Users/runner/work/CXX-CMake-template/CXX-CMake-template/single-exe-classic/src/ModernParadigm.hxx