cpp-docs
cpp-docs copied to clipboard
C++ Documentation
```cpp // C2135.cpp struct S { int bit_field : 1; }; int main() { &S::bit_field; // C2135 +S::bit_field; // C2135 -S::bit_field; // C2135 !S::bit_field; // C2135 ~S::bit_field; // C2135 *S::bit_field;...
As promised in https://github.com/MicrosoftDocs/cpp-docs/pull/5577#discussion_r2228548954: - Fix wrong operator and `variant` class links - Add backticks and clean up redundant relative links
Fix wrong link destinations and update metadata.
- Merge and condense `mutable` remarks to make it clearer and give space to the new `consteval` remarks - Clean up existing `mutable` example - Add new remarks and example...
Add missing `f1_keywords` and `helpviewer_keywords` for errors introduced in commits https://github.com/MicrosoftDocs/cpp-docs/commit/82a27885175edb23e820741cf9750317c0ca2077 and https://github.com/MicrosoftDocs/cpp-docs/commit/5e13c40626cc4dc8a56fd842a2f9e1b5f6c62ff8. No other errors seem to be missing or extraneous.
Fix and update "C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2017"
- Fix wrong link to P0226R1 - Fix some typos and clean up double/trailing spaces
Fix and update "C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2019"
- Remove rogue semicolon in LWG 2729 link text - Fix wrong error code in "Effect of defining spaceship operator on `==` and `!=`" subsection - Add missing period character...
- Add missing integer argument to `_cprintf_s` call in the example - Add backticks, update "`printf_p` positional parameters" link text (match casing with heading in said topic), and normalize example...
Add C6064 "See also" link in C4473 as C6064 links to it and the following emits both warnings together: ```cpp #include int main() { std::printf("%d"); // C4473, C6064 } ```
- Add backticks, simplify redundant relative links, and update metadata - Add missing descriptions and update some existing ones to match those in the respective topics Continues work done in...