mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 20:04:27 +02:00
docs: "MSVC compiler support" chapter added to the 2.3.0 announcement
This commit is contained in:
@@ -47,6 +47,16 @@ conan install . -o 'mp-units:std_format=True' -s compiler.cppstd=23 -b missing
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## MSVC compiler support
|
||||||
|
|
||||||
|
The MSVC compiler has the most bugs in the C++20 support from all our compilers. However,
|
||||||
|
with this release, we could apply many workarounds to the library's code to make it work. 🎉
|
||||||
|
|
||||||
|
Please note those workarounds were only applied to the library's code and not to our unit tests
|
||||||
|
and examples. Trying to build the entire project on MSVC will inevitably fail to compile unless
|
||||||
|
the MSVC bugs are resolved. MSVC developers still have some work to do.
|
||||||
|
|
||||||
|
|
||||||
## Representation type template parameter added to value conversion functions
|
## Representation type template parameter added to value conversion functions
|
||||||
|
|
||||||
Previously, changing a representation type was only possible with a `value_cast<NewRep>(q)`
|
Previously, changing a representation type was only possible with a `value_cast<NewRep>(q)`
|
||||||
|
Reference in New Issue
Block a user