-
# Understand internals of std::expected - C++ Stories
In the article about std::expected, I introduced the type and showed some basic examples, and in this text, you’ll learn how it is implemented.
A…
-
# How to Use Monadic Operations for `std::optional` in C++23 - C++ Stories
In this post we’ll have a look at new operations added to std::optional in C++23. These operations, inspired by functional p…
-
# Using std::expected from C++23 - C++ Stories
In this article, we’ll go through a new vocabulary type introduced in C++23. std::expected is a type specifically designed to return results from a func…
-
The MSVC compiler 2022 C++23 cannot compile the following lines from e.g. test/transform_replace.cpp, test/split.cpp, test/search.cpp
```
char const * str_ = "XYZ";
auto str = str_ …
-
## Summary
Including `` causes a compilation failure when compiling with clang 17.0.6 and GNU stdlibc++ 14 with `-std=gnu++23`
## Steps to reproduce
Install boost (a conanfile is provided) an…
-
https://github.com/kokkos/mdspan
-
# Parsing Numbers At Compile Time with C++17, C++23, and C++26 - C++ Stories
Thanks to the powerful constexpr keyword and many enhancements in recent C++ standards, we can now perform a lot of comput…
-
# Spans, string_view, and Ranges - Four View types (C++17 to C++23) - C++ Stories
In this blog post, we’ll look at several different view/reference types introduced in Modern C++. The first one is st…
-
Hi, I'm very glad using TDM-GCC 32, but I would like to use C++23 stacktrace library,
like this:
https://www.sandordargo.com/blog/2022/09/21/cpp23-stacktrace-library
-
It would be nice to get closer to a python traceback, including filenames and line numbers. There are some snippets on the web to do this for C, so with some minor modifications it can probably be mad…