BSD Ports

devel/scnlib 4.0.1p0 OpenBSD

scanf for modern C++

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Johannes Thyssen Tishman <[email protected]>
Categories
devel, lang/python

Description

scnlib is a modern C++ library for replacing scanf and std::istream. This library attempts to move us ever so much closer to replacing iostreams and C stdio altogether. It's faster than iostream, and type-safe, unlike scanf. Think {fmt} or C++20 std::format, but in the other direction.

In the other systems

SystemPortVersion
OpenBSDdevel/scnlib4.0.1p0
FreeBSDdevel/scnlib4.0.1
HardenedBSDdevel/scnlib4.0.1
GhostBSDdevel/scnlib4.0.1

Install

Binary package:

pkg_add scnlib

From the ports tree:

cd /usr/ports/devel/scnlib && make install

Dependencies

Build dependencies 5
Run dependencies 2
Required by 1