add Chapter14

This commit is contained in:
Amar Mahmutbegovic
2024-11-19 21:29:22 +01:00
parent 49b062908b
commit b378383cf5
1393 changed files with 1058616 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#include <units.hpp>
namespace units {
voltage operator""_V(long double volts) {
return voltage(static_cast<float>(volts));
}
resistance operator""_Ohm(long double ohms) {
return resistance(static_cast<float>(ohms));
}
};