@namark Here's the code:
https://godbolt.org/z/GssW4G3ds
It won't compile in Godbolt because it needs Boost, and it won't compile with g++ or clang either, because of some weird error:
In template: type 'boost::safe_numerics::trap_exception' does not provide a call operator
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.