Commit Graph
298 Commits
Author SHA1 Message Date
rbrugo 88a45452dc Added literal for gauss units 2020-04-10 16:36:08 +02:00
rbrugo 86eefe1b0d Added magnetic flux 2020-04-10 16:36:08 +02:00
rbrugo b04cc5a0ce Added magnetic induction 2020-04-10 16:36:08 +02:00
rbrugo fedfe15f6d Added magnetic induction 2020-04-10 16:36:08 +02:00
rbrugo da470a6976 added a small guide for editing the format specifications 2020-04-06 12:41:18 +02:00
rbrugo 4250a7a042 moved ascii_only functionality to unit_format_specs 2020-04-06 12:41:18 +02:00
Mateusz Pusz d19825e14c Numeric concepts removed from repo (no longer used) 2020-03-28 12:08:37 +01:00
Mateusz Pusz f75a69da9a Direct namespace usage removed from fixed_string 2020-03-27 15:21:42 +01:00
Mateusz Pusz f5df68253e symbol_text refactored 2020-03-27 15:21:05 +01:00
Ramzi Sabra 852c6e90fb added [[maybe_unused]] attribute to char parameter in ASCII validation function to allow release builds to compile 2020-03-27 10:03:59 +01:00
Ramzi Sabra 36bee5a8c3 fixed dot product symbol 2020-03-27 10:03:59 +01:00
Ramzi Sabra e0263c554d added ASCII character validation; added ASCII-only superscripts, scientific notation, dot product 2020-03-27 10:03:59 +01:00
Ramzi Sabra c610b04904 StandardCharT is now char if only one symbol is provided 2020-03-27 10:03:59 +01:00
Ramzi Sabra a3d4e04645 replaced ASCIICharT typename with char 2020-03-27 10:03:59 +01:00
Ramzi Sabra b8073b79d0 replaced ASCII part comparison with assert ensuring same comparison result as for standard part 2020-03-27 10:03:59 +01:00
Ramzi Sabra dd6db61ea9 added ASCII symbol for micro SI unit prefix 2020-03-27 10:03:59 +01:00
Ramzi Sabra 7aa381d525 added spaceship operator 2020-03-27 10:03:59 +01:00
Ramzi Sabra 60d9a9036a added more operators; added tests 2020-03-27 10:03:59 +01:00
Ramzi Sabra f6d9a1cbda removed c_str(), size(), operator<< abstractions from basic_symbol_text 2020-03-27 10:03:59 +01:00
Ramzi Sabra e9272ac108 added ASCII-only format output support 2020-03-27 10:03:59 +01:00
Mateusz Pusz 99c309ef19 Some constants readability improved 2020-03-26 20:57:33 +01:00
Mateusz Pusz ecb158eaa7 Concepts enabled for customization points 2020-03-26 16:37:47 +01:00
Mateusz Pusz ce0fbfa0a1 quantity cast refactored to match new ratio and Scalar design 2020-03-25 22:07:16 +01:00
Mateusz Pusz 9fbf17be06 Scalar concept extended
Scalar concept extended with types that are not constructible from and integral type
2020-03-25 22:06:07 +01:00
Mateusz Pusz ab1cc4b8e7 Overconstrained quantity operations relaxed 2020-03-25 15:04:33 +01:00
rbrugo b605ca309b Added check for unit modifiers 2020-03-20 16:15:53 +01:00
rbrugo 3976e5ea2d Indentation refactored to 2 spaces for consistency 2020-03-20 16:15:53 +01:00
rbrugo 6c54d08b12 Bug fixes 2020-03-20 16:15:53 +01:00
rbrugo 182d806ad2 New grammar 2020-03-20 16:15:53 +01:00
Mateusz Pusz 034f239f96 PrefixType renamed to PrefixFamily + units hierarchy PNG fixed 2020-03-19 14:44:56 +01:00
Mateusz Pusz c33f6f2d59 ostream width, align and fill added 2020-03-19 09:23:27 +01:00
rbrugo 8b4f4daa55 Removed c, s and p types; added optional # specifier 2020-03-18 12:16:02 +01:00
Mateusz Pusz 572b5bdf22 Documentation for quantity constants added 2020-03-17 18:06:45 +01:00
Mateusz Pusz 45888ac44e Physical constants support redesigned 2020-03-17 17:13:18 +01:00
Mateusz Pusz d2e49b25f7 Clang uses the Ranges-v3 concepts 2020-03-17 17:12:01 +01:00
rbrugo c88dc6904b Reused specs field instead of precision and type 2020-03-17 14:08:13 +01:00
rbrugo 0593516622 Added types in format grammar 2020-03-17 14:08:13 +01:00
Mateusz Pusz c26f4500e1 E and O format specifiers removed and A added 2020-03-16 11:31:02 +01:00
Mateusz Pusz 30232186f1 Bitrate UDLs refactored 2020-03-10 21:12:00 +01:00
Mateusz Pusz 6a5f25750d UDL naming refactored 2020-03-10 20:53:53 +01:00
Mateusz Pusz 5f73123f87 Contrained on a named unit added to a prefixed_unit 2020-03-09 18:56:55 +01:00
Mateusz Pusz 5a72983c47 Removed an old TODO comment 2020-03-01 14:50:01 +01:00
Mateusz Pusz cd0eb11c14 standard_gravity constant added 2020-03-01 13:11:15 +01:00
Mateusz Pusz 736a8bd3c8 "clang-format off" removed for base_dimension_less 2020-02-25 11:55:16 +01:00
Mateusz Pusz 0c02f94d29 Printing of uknown non-coherent units fixed 2020-02-24 20:45:47 +01:00
Mateusz Pusz 1f63fdb945 Printing of a space separator for unitless quantites disabled 2020-02-24 20:01:57 +01:00
Mateusz Pusz c73ba84ad3 Natural Units support added 2020-02-24 19:15:46 +01:00
Mateusz Pusz e7756bf4eb Printing order of base units according to the recipe fixed 2020-02-24 15:18:37 +01:00
Mateusz Pusz 0eb2f404be clang-format applied to type_list 2020-02-24 15:17:03 +01:00
Mateusz Pusz c745bebffd type_list_join added 2020-02-24 15:15:46 +01:00