[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] (no subject)
From: |
Greg Chicares |
Subject: |
[lmi-commits] (no subject) |
Date: |
Sun, 19 Jun 2016 00:57:23 +0000 (UTC) |
branch: master
commit 964e660a5e2d96db55f60e83cad55456468231b2
Author: Gregory W. Chicares <address@hidden>
Date: Sun Jun 19 00:21:57 2016 +0000
Avoid the term "static constructor"
C++ doesn't have what some other languages call a "static constructor",
so it is clearer to avoid that term.
---
currency.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/currency.hpp b/currency.hpp
index 6ff4ceb..8daf5e5 100644
--- a/currency.hpp
+++ b/currency.hpp
@@ -92,7 +92,7 @@ class currency
cents_ = cents_per_dollar * dollars + cents;
}
- /// Static constructor from floating-point dollars.
+ /// Convert from floating-point dollars.
///
/// The argument may be positive or negative. Its value is rounded
/// to the nearest cent.