Description
`strf` is a formatting library that: - is highly extensible. - is highly customizable - is fast - is locale-independent - supports encoding conversion.
strf alternatives and similar libraries
Based on the "Miscellaneous" category.
Alternatively, view strf alternatives based on common mentions on social networks and blogs.
-
RE2
RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library. -
ZBar
Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar -
American fuzzy lop
american fuzzy lop - a security-oriented fuzzer -
Serial Communication Library
Cross-platform, Serial Port library written in C++ -
Better Enums
C++ compile-time enum to string, iteration, in a single header file -
c-smart-pointers
Smart pointers for the (GNU) C programming language -
Experimental Boost.DI
DI: C++14 Dependency Injection Library -
UNITS
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies. -
constexpr-8cc
Compile-time C Compiler implemented as C++14 constant expressions -
cxx-prettyprint
A header-only library for C++(0x) that allows automagic pretty-printing of any container. -
outcome
Provides very lightweight outcome<T> and result<T> (non-Boost edition) -
value-category-cheatsheet
A C++14 cheat-sheet on lvalues, rvalues, xvalues, and more -
ub-canaries
collection of C/C++ programs that try to get compilers to exploit undefined behavior -
StrTk
C++ String Toolkit Library https://www.partow.net/programming/strtk/index.html -
QtVerbalExpressions
This Qt lib is based off of the C++ VerbalExpressions library. [MIT] -
access_profiler
a tool to count accesses to member variables in c++ programs -
CommonPP
Small library helping you with basic stuff like getting metrics out of your code, thread naming, etc.
Write Clean C++ Code. Always.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of strf or a related project?
README
Strf
Yet another C++ formatting library.
Version: 0.15.0
Attention : Branch master
was renamed to main
, following the (not so) new Github conversion.
Documentation
- Overview
- How to extend strf:
- Header references:
<strf.hpp>
is the main header. This document is big and covers many details that you will probably never need to know. So it's not the best starting point.<strf/outbuff.hpp>
is a lightweight and freestanding header that defines thebasic_outbuff
class template. All other headers depend on this one.<strf/to_string.hpp>
adds support for writting tostd::basic_string
. It includes<strf.hpp>
.<strf/to_cfile.hpp>
adds support for writting toFILE*
. It includes<strf.hpp>
.<strf/to_streambuf.hpp>
adds support for writting tostd::basic_streambuf
. It includes<strf.hpp>
.
- Miscellaneous
- Strf versus {fmt} ( an incomplete comparison )
- How to use strf on CUDA devices
- Benchmarks
Requirements
Strf has been tested in the following compilers:
- Clang 3.8.1
- GCC 6.3.0
- Visual Studio 2017 15.8
- NVCC 10.2