Bernhard Manfred Gruber

Results 171 issues of Bernhard Manfred Gruber

`std::mdspan` is especially targeted towards scientific codes, so we should mention it.

later

C++23 will bring the following extended floating point types: std::float16_t std::float32_t std::float64_t std::float128_t std::bfloat16_t Notably, support for 16 and 128bit floats. bfloat16 is used by Google's TPUs, in Tensorflow and...

later

There is one slide on the `[[fallthrough]]` attribute, but I think we should discuss attributes in general and mention the few other standard ones.

stale

We have this table on the slides: ![image](https://user-images.githubusercontent.com/1224051/184102256-2a08efb1-6c48-43ad-8771-8bf92d160549.png) However, testing for a specific feature should be done via [feature test macros](https://en.cppreference.com/w/cpp/feature_test). We should add a slide explaining how this is...

Advanced
stale

Should we add a few slides on the standardization process of C++? That there is a committee which reviews papers and they will be eventually voted into an ISO standard.

stale

In C++20 we got the new header [``](https://en.cppreference.com/w/cpp/header/numbers), which among other things defines `std::numbers::pi`. This replaces the common use of unportable constants like `M_PI`.

I just saw that the PDF built by the Github actions is slighly different from the one I build locally. Also the size is quite different. E.g. Github action: ![image](https://user-images.githubusercontent.com/1224051/158764576-9066b17a-e01a-488f-8561-0d224a6fcd3a.png)...

I would like to add some more standard library components to the overview on this slide: ![image](https://user-images.githubusercontent.com/1224051/158984687-15e0873f-a5cf-4397-afc4-4dc207aca30a.png) Specifically: threads mutexes, atomics, regular expressions, filesystem access, random number engines and distributions,...

stale

stb_image.h contains the function `static int stbi__cpuid3(void)` (on line 657 in my copy) to eventually detect if the CPU supports SSE. When `_MSC_VER` is defined, a different implementation is used,...

1 stb_image
can't reproduce