Commit Graph
3564 Commits
Author SHA1 Message Date
Mateusz Pusz 2e96871176 refactor: is_power_of_quantity_spec and is_power_of_dim variable templates converted to concepts 2024-09-14 19:41:43 -06:00
Mateusz Pusz 3e31067ce4 refactor: has_common_type_v simplified 2024-09-10 18:48:11 +02:00
Mateusz Pusz 8103a4039f fix: std::format does not have to use Char* as iterators 2024-09-10 18:43:19 +02:00
Mateusz Pusz 39d735fb2c Merge pull request #607 from czjhoppe/master-msvc-194-only-lib
[msvc] changes to make library compatible with msvc compiler (194)
2024-09-10 19:52:15 +09:00
Jonas Hoppe 329b17ec8c clang-format 2024-09-10 11:14:45 +02:00
Jonas Hoppe 5ecb6c295a [msvc][fix] add Todo comment for bug
https://developercommunity.visualstudio.com/t/Discrepancy-in-Behavior-of-operator-an/10732445
2024-09-10 11:01:15 +02:00
Jonas Hoppe 4f4da588b1 [msvc][fix] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND in example 2024-09-10 10:15:24 +02:00
Jonas Hoppe 0532f41872 Merge branch 'master' into master-msvc-194-only-lib 2024-09-10 10:04:14 +02:00
Jonas Hoppe 413966efca [msvc][fix] revert changes in example and test folder 2024-09-10 10:03:37 +02:00
Jonas Hoppe f651438f29 [clang-format] 2024-09-10 09:58:05 +02:00
Jonas Hoppe ee4a7066ca [msvc][fix] remove MP_UNITS_IS_CONST_EXPR_WORKAROUND 2024-09-10 08:56:52 +02:00
Mateusz Pusz 32d4821f4a chore: Dockerfile updated for gitpod 2024-09-09 18:19:16 +00:00
Mateusz Pusz e792eb303c chore: .gitignore updated to account also for the docs/api_reference/gen symbolic link 2024-09-09 14:39:36 +02:00
Mateusz Pusz e42e568f44 fix: conversion operator to std::chrono types fixed
Resolves #609
2024-09-09 14:37:22 +02:00
Jonas Hoppe 3da6db7d04 [msvc][fix] remove all unnecessary MP_UNITS_IS_CONST_EXPR_WORKAROUND 2024-09-09 13:35:55 +02:00
Jonas Hoppe 52544678c1 [msvc][fix] add Workaround Macro to conan test-package 2024-09-09 12:37:38 +02:00
Jonas Hoppe eaed0614ef [msvc][fix][unit.h] move requires before function signature instead of using MP_UNITS_IS_CONST_EXPR_WORKAROUND 2024-09-09 12:29:50 +02:00
Jonas Hoppe 9ce76ede3a [msvc][fix] remvoe MP_UNITS_IS_CONST_EXPR_WORKAROUND in constexpr branches 2024-09-09 12:25:09 +02:00
Jonas Hoppe aebf55c09a Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194"
This reverts commit e3034c5554, reversing
changes made to 8be458b0b7.
2024-09-09 12:10:39 +02:00
Jonas Hoppe 1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 2024-09-09 12:05:19 +02:00
Jonas Hoppe e3034c5554 Merge branch 'master-msvc-194-only-lib' into master-msvc-194 2024-09-09 11:49:37 +02:00
Mateusz Pusz aedcbcf2e7 docs: minor formatting and spelling improvements to the "CONTRIBUTING.md" 2024-09-08 11:46:34 +02:00
Mateusz Pusz ee21ae0e1f docs: "Generating API reference" chapter added 2024-09-08 11:45:19 +02:00
Mateusz Pusz efc7cb338b ci: generated api_reference destination directory fixed 2024-09-08 10:35:08 +02:00
Mateusz Pusz 1a7f461a08 ci: tex2html path export fixed 2024-09-08 09:36:26 +02:00
Mateusz Pusz be1fc86daf ci: api_reference/src path fixed 2024-09-08 09:27:04 +02:00
Mateusz Pusz 804814e9b0 feat: API reference generation added 2024-09-08 09:23:03 +02:00
Mateusz Pusz 32712a20a8 style: pre-commit formatting issues resolved 2024-09-08 08:32:17 +02:00
Mateusz Pusz 3d3990f3b5 Merge pull request #546 from JohelEGP/ref_docs
docs: add reference documentations
2024-09-08 15:21:54 +09:00
Mateusz Pusz c4a3103267 feat: update .gitignore to exclude generated api reference files 2024-09-08 08:20:26 +02:00
Mateusz Pusz 40d81d0f3e feat: mkdocs-exclude plugin added 2024-09-08 08:20:26 +02:00
Mateusz Pusz 4512e29b1b refactor: api.md renamed to the api_reference.md 2024-09-08 08:20:26 +02:00
Mateusz Pusz 09167990ad chore: *.tex files moved to api_reference/src directory 2024-09-08 08:20:26 +02:00
Johel Ernesto Guerrero Peña 20d58666fe docs: add reference documentations 2024-09-08 08:20:26 +02:00
Mateusz Pusz 04f128623e Merge pull request #532 from mpusz/api_reference
docs: "API Reference" support added
2024-09-08 15:18:20 +09:00
Mateusz Pusz b56bc8b5b2 docs: example generated files removed 2024-09-07 15:46:13 +02:00
Mateusz Pusz 1b4f451f90 docs: "API Reference" support added 2024-09-07 15:46:13 +02:00
Mateusz Pusz 40dc07a42c refactor: quantity_point default-constructibility removed from the quantity_from constraints 2024-09-06 18:31:51 +02:00
Mateusz Pusz c06a533f50 refactor: Representation concepts now requires WeaklyRegular instead of std::regular 2024-09-06 18:30:58 +02:00
Mateusz Pusz 3d39472f46 test: unit tests for creating a quantity from a volatile variable 2024-09-06 18:07:33 +02:00
Mateusz Pusz 664d52c0c0 refactor: perfect forwarding interfaces improved 2024-09-06 16:02:51 +02:00
Mateusz Pusz cbe37cdadf fix: compiler crashes workaround 2024-09-06 15:57:11 +02:00
Mateusz Pusz a9bcec46c8 fix: static removed from a constexpr variable in a constexpr function as this is supported in C++23 only 2024-09-06 15:56:45 +02:00
Mateusz Pusz 1570bda905 fix: quantity scaling between different prefixes improved
Resolves #608
2024-09-06 12:28:11 +02:00
Mateusz Pusz 7eb9b764bd fix: workarounds for not-working CWG2387 2024-09-05 22:05:35 +02:00
Mateusz Pusz 45013f6752 fix: inline restored for non-template constexpr global variables 2024-09-05 10:06:43 +02:00
Mateusz Pusz 2e840cfdb4 refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
2024-09-05 08:43:36 +02:00
Mateusz Pusz 2a4e1e3d95 docs: Rework of "Getting Started" section
Inspired by #603
2024-09-05 08:17:35 +02:00
Jonas Hoppe 93af5db137 [clang-format] 2024-09-04 10:30:39 +02:00
Jonas Hoppe 3174291f95 Merge branch 'master-msvc-194' into master-msvc-194-only-lib 2024-09-04 10:27:41 +02:00