Mateusz Pusz

Results 651 comments of Mateusz Pusz

> You can cast to an unrelated quantity kind with quantity_cast. Do we need it? Maybe the constructor call to a new kind with the quantity as an argument would...

> According to https://en.cppreference.com/w/cpp/compiler_support, MSVC now supports them. https://godbolt.org/z/dfc3ro. bits/basic_concepts.h has one such TODO. As I am aware of for MSVC it is only supported in some Preview version and...

I have all of the changes ready for CLang support for a long time now. However, clang has some major issues with concepts and ends up in some recursive loop...

OK, see the https://github.com/mpusz/units/tree/clang_support branch.

> there should be little to no difference right now. Not really. Compare this: - main: https://github.com/llvm/llvm-project/blob/main/libcxx/include/concepts - 12: https://github.com/llvm/llvm-project/blob/release/12.x/libcxx/include/concepts

OK, I use https://apt.llvm.org/ so it is easy to have both clang-12 and clang-13-dev (both with their libc++ versions) at the same time being up-to-date all the time.

There are actually much more of those in the standard library: `pointer_cast`, `any_cast`, `clock_cast`, `time_point_cast`. In general, I like your suggestion but even if we do it for the units...

Hi, thanks for your interest in the library. I must admit that I do not know much about BibTeX entries but I always thought they do not apply to the...