fmt

Fast C++ formatting library with Python bindings and CLI support

brewmacoslinux
Try with needOr install directly
Source

About

Open-source formatting library for C++

Commands

fmt

Examples

Format a C++ source file using the fmt library (requires integration in your build)$ clang-format -style=file myfile.cpp
Use fmt in a C++ program by including the header and linking the library$ g++ -I$(brew --prefix fmt)/include myprogram.cpp -L$(brew --prefix fmt)/lib -lfmt -o myprogram
Verify fmt library installation and version$ pkg-config --cflags --libs fmt