Commit Graph

455 Commits

Author SHA1 Message Date
Mateusz Pusz
f18b00252b Metabench chart renamed 2019-05-18 12:59:37 +02:00
Mateusz Pusz
c30673fb7e Compiler version specific configuration support added 2019-05-18 12:59:08 +02:00
Mateusz Pusz
28277c56ed A small refactoring of a metabench cmake 2019-05-17 23:34:09 +02:00
Mateusz Pusz
7bebf6e1e0 Metabench support and tests added 2019-05-17 22:41:46 +02:00
Mateusz Pusz
a63b5ab111 std::ratio<1> set as a default for unit 2019-05-09 19:54:18 -06:00
Mateusz Pusz
1bbbd02f1c Concepts workaround added to operator/() 2019-05-08 20:43:52 -06:00
Mateusz Pusz
85ab642fc4 Scalar concept added 2019-05-08 19:56:24 -06:00
Mateusz Pusz
61e9edbcdf Compiler version checking added to conanfile.py 2019-05-08 17:55:49 -06:00
Mateusz Pusz
04a3218cd0 CI fixed for compiler.cppstd 2019-05-08 15:47:46 -06:00
Mateusz Pusz
9d50534a1f Updated to cmcstl2/2019.04.26 2019-05-08 15:10:06 -06:00
Mateusz Pusz
aca7861faf cppstd moved to compiler.cppstd 2019-05-08 15:09:42 -06:00
Mateusz Pusz
e5ee2cd381 Conan is able to set C++ version when cppstd is used 2019-05-08 12:11:43 -06:00
Mateusz Pusz
863a14ed36 Unit tests with useless casts refactored 2019-05-08 11:19:33 -06:00
Mateusz Pusz
9000a0206e Compile flags updated 2019-05-08 11:13:23 -06:00
Mateusz Pusz
27ab2db216 Minor changes to .gitignore 2019-05-08 09:53:07 -06:00
Mateusz Pusz
85cd880572 Conan packaging refactored 2019-05-08 09:52:46 -06:00
Mateusz Pusz
88a3b9b50a Portability issue fixed in a unit test 2019-05-08 09:06:45 -06:00
Mateusz Pusz
7b186e31cc Minor file formatting 2019-05-08 09:06:20 -06:00
Mateusz Pusz
02de44cd12 .gitignore updated 2019-05-08 09:05:59 -06:00
Mateusz Pusz
e9d1ae2719 Concepts-related hacks added to import them to std namespace 2019-05-08 09:05:31 -06:00
Mateusz Pusz
4990274281 .vs adde to .gitignore 2019-05-08 07:17:28 -06:00
Mateusz Pusz
a80001c745 units::common_quantity_t documentation added 2019-05-07 21:54:23 -06:00
Mateusz Pusz
cf2370b8fe Limited number of places where common_type is being used on quantities
For some specific mathematical types different type might be returned from division, mulitplication, substraction, etc.
std::common_type<> does not have an information which operation is being performed. It is much better to just get
the actual result of specific operation.
2019-05-07 21:03:58 -06:00
Mateusz Pusz
cdf9f929c3 Refactoring part of quantity interface (similar changes applied to the rest of functions make gcc crash) 2019-05-07 17:39:21 -06:00
Mateusz Pusz
be997394ea git submodule update added to AppVeyor 2019-05-07 09:48:49 -06:00
Mateusz Pusz
2d52782407 type_list moved from mp to units namespace 2019-05-07 08:28:02 -06:00
Mateusz Pusz
0e36a6025f tools.h spread to multiple files 2019-05-07 08:25:18 -06:00
Mateusz Pusz
a0b09969eb Small refactoring of build.py 2019-05-07 08:06:04 -06:00
Mateusz Pusz
0d68efdcd7 quantity_cast fixed 2019-04-16 10:38:16 +02:00
Mateusz Pusz
ed964292c7 quantity_cast() made constexpr 2019-04-16 10:36:07 +02:00
Mateusz Pusz
0adb50ab0e merge_dimension_t helper template arguments fixed 2019-04-15 18:24:29 +02:00
Mateusz Pusz
27858f2b33 my_value toy class refactored 2019-04-11 20:56:16 +01:00
Mateusz Pusz
adcd1e2f1b one() added to quantity_values and quantity 2019-04-11 20:54:27 +01:00
Mateusz Pusz
2af2a28699 Design documentation updated with unit prefixes 2019-04-11 19:38:05 +01:00
Mateusz Pusz
f995f5ce60 Prefixes support added 2019-04-11 18:57:29 +01:00
Mateusz Pusz
d572b50bee README updated v0.0.1 2019-04-11 13:54:51 +01:00
Mateusz Pusz
a49ef2d055 Area support added 2019-04-11 13:36:54 +01:00
Mateusz Pusz
9cea2b89cf Badges fixed in README 2019-04-11 13:36:35 +01:00
Mateusz Pusz
709e1190af derived_unit helper added 2019-04-11 13:36:06 +01:00
Mateusz Pusz
e12fb2f52a git submodule download added to scm 2019-04-10 19:38:34 +01:00
Mateusz Pusz
8a6906fa38 Additional checks added to configure() method in conanfile 2019-04-10 18:51:39 +01:00
Mateusz Pusz
46ed9b10c9 Appveyor support added 2019-04-10 18:45:08 +01:00
Mateusz Pusz
37bb680aff test_package fixed 2019-04-10 18:26:57 +01:00
Mateusz Pusz
816c86a81a cmake install and find_package removed from conanfile
find_package() does not really work well for header only libraries
2019-04-10 18:17:21 +01:00
Mateusz Pusz
f16d619d30 Documentation updated 2019-04-10 17:20:32 +01:00
Mateusz Pusz
134f137a2f cppstd support added 2019-04-10 17:19:55 +01:00
Mateusz Pusz
1dca9fa890 Obtaining library version from a CMake file added 2019-04-10 17:12:24 +01:00
Mateusz Pusz
a2f829aa64 Test package fixed 2019-04-09 22:15:10 +01:00
Mateusz Pusz
2434bb86e0 conanfile fixed 2019-04-09 22:09:21 +01:00
Mateusz Pusz
d78508a02f Refactored units definitions, added the remaining SI base units, refactored header includes 2019-04-09 21:31:09 +01:00