summaryrefslogtreecommitdiff
path: root/source/price.cc
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-31 00:00:12 -0700
committerFuwn <[email protected]>2024-05-31 00:20:41 -0700
commit968e1c4af014b7f40bfaa4f57fcc0f38e5e0d847 (patch)
treedf80525ad0cc9e4b561bfb0772c30ccc5b64b4a2 /source/price.cc
parentfeat: initial commit (diff)
downloadcst_136_assignment_eight-main.tar.xz
cst_136_assignment_eight-main.zip
feat: final releaseHEADmain
Diffstat (limited to 'source/price.cc')
-rw-r--r--source/price.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/price.cc b/source/price.cc
new file mode 100644
index 0000000..2914bd3
--- /dev/null
+++ b/source/price.cc
@@ -0,0 +1,7 @@
+#include <book_store/price.hh>
+
+namespace book_store::product::price {
+[[nodiscard]] auto usd::value() const noexcept -> price_type {
+ return this->_price;
+}
+} // namespace book_store::product::price