C++C++11C++14C++17Code SnippetLearn C++

Quickly Learn To Sort Vectors With Parallel STL Algorithm In C++ On Windows

In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature that you can sort vectors with Parallel STL Algorithm. In C++ Builder, Vectors can be used and sorted by Parallel STL Algorithm as below. #include <vcl.h> #include <stdio.h> #include <vector> #include…
Read more
C++Learn C++Videos

Learn C++ With Functional Error and Optional-value Handling with STX by Basit Ayantunde (CPPCon 2020) Video

Error-handling is probably the most divergent part of C++. Many coding guidelines partially allow exception or completely bans, and this leads to many projects supporting multiple error-handling interfaces, such as exceptions, error-prone c-style error-handling, and/or custom error-handling types. This video talks about STX; a C++ library that seeks to fix some of these issues with error and…
Read more