diff --git a/CPP20.md b/CPP20.md index 78c6cfd..4707461 100644 --- a/CPP20.md +++ b/CPP20.md @@ -369,7 +369,7 @@ Concepts are also provided by the standard library for building more complicated See also: [concepts](#concepts). -### synchronized buffered outputstream +### Synchronized buffered outputstream Buffers output operations for the wrapped output stream ensuring synchronization (i.e. no interleaving of output). ```c++ std::osyncstream{std::cout} << "The value of x is:" << x << std::endl; @@ -412,7 +412,7 @@ std::span span2 = arr; // ERROR std::span span3 = arr; // ERROR ``` -### bit operations +### Bit operations C++20 provides a new `` header which provides some bit operations including popcount. ```c++ std::popcount(0u); // 0 @@ -420,7 +420,7 @@ std::popcount(1u); // 1 std::popcount(0b1111'0000u); // 4 ``` -### math constants +### Math constants Mathematical constants including PI, Euler's number, etc. defined in the `` header. ```c++ std::numbers::pi; // 3.14159... diff --git a/README.md b/README.md index 0be19de..a4d7391 100644 --- a/README.md +++ b/README.md @@ -461,7 +461,7 @@ Concepts are also provided by the standard library for building more complicated See also: [concepts](#concepts). -### synchronized buffered outputstream +### Synchronized buffered outputstream Buffers output operations for the wrapped output stream ensuring synchronization (i.e. no interleaving of output). ```c++ std::osyncstream{std::cout} << "The value of x is:" << x << std::endl; @@ -504,7 +504,7 @@ std::span span2 = arr; // ERROR std::span span3 = arr; // ERROR ``` -### bit operations +### Bit operations C++20 provides a new `` header which provides some bit operations including popcount. ```c++ std::popcount(0u); // 0 @@ -512,7 +512,7 @@ std::popcount(1u); // 1 std::popcount(0b1111'0000u); // 4 ``` -### math constants +### Math constants Mathematical constants including PI, Euler's number, etc. defined in the `` header. ```c++ std::numbers::pi; // 3.14159...