"{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
See {fmt}
documentation for usage and details.
{fmt}
: https://github.com/fmtlib/fmt/- Build2 : https://build2.org
Note: This is the source code for the build2 package of the {fmt}
C++ library,
the actual library sources snapshot can be found in the ./upstream/
submodule.
Configuration Options
Experimental C++20 modules support
Modules support is WIP, both in the build2
package and also in fmt
upstream. Latest versions of MSVC or Clang are recommended, and the most up-to-date version of the package with regards to modules compatibility can be used via git and the modules branch. For example, in project repositories.manifest
:
:
role: prerequisite
location: https://github.com/build2-packaging/fmt.git#modules
Enable with config.cxx.features.modules=true
. When enabled, by default dual mode is used meaning that the library can be consumed either through import
or via #include
. To enable this safely, all entities are attached to the global module (extern "C++"). See modules_only
option for the alternative.
config.fmt.enable_import_std
: Set totrue
to consume the standard library as a module when building thefmt
module. Support dependent on compiler and std lib. Defaults tofalse
.config.fmt.modules_only
: Set totrue
to enable modules-only mode for the package. In this mode,fmt
entities are fully encapsulated in thefmt
module meaning#include
-based consumption cannot be mixed, and the package will not export headers. Defaults tofalse
.
license | MIT |
---|---|
project | fmt |
url | github.com/fmtlib/fmt/ |
doc-url | fmt.dev/ |
version | 11.0.2 |
---|---|
repository | https://pkg.cppget.org/1/testing |
depends | 0 |
reviews | 0 |
version | 10.2.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 10.1.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 10.0.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 9.1.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 9.0.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 8.1.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 8.1.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 8.0.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 8.0.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 7.1.3 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 7.1.2 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 7.1.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 7.1.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 7.0.3 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 7.0.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 6.2.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 6.2.0+2 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 6.1.2+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |