Untitled attachment
https://media.hachyderm.io/media_attachments/files/110/572/132/460/711/982/original/6dba6a91bb46484c.png
When working with C++20 views, creating functions that encapsulate complex view compositions might be tempting.
However, that will very likely lead to unnecessary data copies. Instead, consider compositing views as inline constexpr variables.
Compiler Explorer link: https://compiler-explorer.com/z/vG4hhe77h
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.