C++ Highlights
19 subscribers
2 photos
110 links
Linkblog about C++ and related tools and libraries: gcc, Clang, STL, Boost, Qt, POCO, Visual Studio etc. Available in Twitter since 2012 - https://twitter.com/cpphl
Download Telegram
C++ Programming Cookbook #book
Proven solutions using C++ 20 across functions, file I/O, streams, memory management, STL, concurrency, type manipulation and error debugging
https://leanpub.com/cprogrammingcookbook
sssersh/too_constexpr

C++20-compatible library which implements constexpr non-transient allocator for standard containers.


constexpr std::string_view str1 = "It is string which was builded ";
constexpr std::string_view str2 = "as concatenation of two strings";

constexpr auto concat_result =
cant::too_constexpr(
[]() -> std::string
{
return std::string(str1) + std::string(str2);
}
);

// It does work!
static_assert(concat_result == "It is string which was builded as concatenation of two strings", "error");


https://github.com/sssersh/too_constexpr
Parallel C++. Efficient and Scalable High-Performance Parallel Programming Using HPX #book
Explains how to exploit the parallel features in the C++ 17 and C++ 20 standards, including the HPX library.
https://link.springer.com/book/10.1007/978-3-031-54369-2