fmt-display-cpp Documentation

A modern C++ library for effortless formatting and display of objects and containers.

Key Features

Easy-to-use API
Customize object display with a simple and intuitive API
ANSI Styling
Add colors and text formatting to your console output
Type-safe Formatting
Catch formatting errors at compile-time

Quick Start

Get started with fmt-display-cpp in just a few lines of code:
main.cpp
#include "fmt/display.h"
#include "fmt/vector.h"
#include <vector>

int main() {
  std::vector<int> numbers = {1, 2, 3, 4, 5};
  fmt::println("Numbers: ", numbers); // [1, 2, 3, 4, 5]
  fmt::println(ansi::green, "Hello, ", ansi::red, "World!", ansi::reset);
  return 0;
}

Explore Documentation

Core Features
Learn about the main capabilities of fmt-display-cpp
Advanced Topics
Dive deeper into complex usage scenarios
Examples
See practical code samples and use cases
API Reference
Detailed documentation of all components
Community & Contributing
Join the community and contribute to the project

Join Our Community

Get Involved

Join our community to get help, share your projects, and contribute.

GitHub