The format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string
Format, part of the collection of Boost C++ Libraries, provides a type-safe mechanism for formatting arguments according to a printf-like format-string. User-defined types are supported by providing a std::ostream operator <<
implementation for them.
License
Distributed under the Boost Software License, Version 1.0.
Properties
- C++03
- Header-only
Build Status
Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests |
---|---|---|---|---|---|---|---|
master |
|||||||
develop |
Directories
Name | Purpose |
---|---|
benchmark |
benchmark tool |
doc |
documentation |
examples |
use case examples |
include |
headers |
test |
unit tests |
tools |
development tools |
More information
- Ask questions: Be sure to read the documentation first as Boost.Format, like any other string formatting library, has its own rules.
- Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit Pull Requests against the develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0. Be sure to include tests proving your changes work properly.
- Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the
[format]
tag at the beginning of the subject line.
license | BSL-1.0 |
---|---|
project | boost |
url | github.com/boostorg/format |
doc-url | www.boost.org/doc/libs/1_85_0/libs/format |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
5 Versions
version | 1.85.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-optional, libboost-smart-ptr, libboost-throw-exception, libboost-utility |
reviews | +1 |
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-optional, libboost-smart-ptr, libboost-throw-exception, libboost-utility |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-optional, libboost-smart-ptr, libboost-throw-exception, libboost-utility |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-optional, libboost-smart-ptr, libboost-throw-exception, libboost-utility |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-optional, libboost-smart-ptr, libboost-throw-exception, libboost-utility |
reviews | +1 |