Viatorus / compile-time-printer

Prints values and types during compilation!
Boost Software License 1.0
55 stars 0 forks source link

Support unicode #11

Open Viatorus opened 3 years ago

Viatorus commented 3 years ago
constexpr auto test = ctp::printf(
  "┌{0:─^{2}}┐\n"
  "│{1: ^{2}}│\n"
  "└{0:─^{2}}┘\n", "", "Hello, world!", 20);

Should print:

┌────────────────────┐
│   Hello, world!    │
└────────────────────┘