diff --git a/libs/units/example/autoprefixes.cpp b/libs/units/example/autoprefixes.cpp
index 8b2bc43..d04f2fe 100644
|
a
|
b
|
struct thing_base_unit : boost::units::base_unit<thing_base_unit, boost::units::
|
| 67 | 67 | struct euro_base_unit : boost::units::base_unit<euro_base_unit, boost::units::dimensionless_type, 5> |
| 68 | 68 | { |
| 69 | 69 | static constexpr const char* name() { return("EUR"); } |
| 70 | | static constexpr const char* symbol() { return(""); } |
| | 70 | static constexpr const char* symbol() { return("â¬"); } |
| 71 | 71 | }; |
| 72 | 72 | |
| 73 | 73 | int main() |
| … |
… |
int main()
|
| 140 | 140 | |
| 141 | 141 | quantity<euro_base_unit::unit_type> ce = 2048. * euro_base_unit::unit_type(); |
| 142 | 142 | cout << name_format << engineering_prefix << ce << endl; // 2.048 kiloEUR |
| 143 | | cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k |
| | 143 | cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k⬠|
| 144 | 144 | |
| 145 | 145 | |
| 146 | 146 | return 0; |