Skip to content

gr1mpatr0n/printfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

printfˣ

Full compile-time printf without Unicode bloat.

Demo

Demo Video

FAQs

My compiler already catches this - what's the point?

This is portable to any compiler that supports the C++20 standard or greater and is always a hard error, as it should be. It doesn't depend on an LSP or external lint tool. If your IDE/LSP can evaluate templates and macros, this will work in the editor, too.

Should I use this?

Maybe? It's the first "real" C++ library I've made and for 99% of cases you should probably use libfmt. I made it because binary bloat with libfmt and std::format were greater than my tolerance. With printfˣ, you get nothing but a call to the system's printf (or equivalents). No Unicode tables, no plethora of error strings.

About

Full compile-time printf without Unicode bloat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published