Popularity
1.8
Declining
Activity
8.5
Growing
43
6
2

Description

`strf` is a formatting library that: - is highly extensible. - is highly customizable - is fast - is locale-independent - supports encoding conversion.

Programming language: C++
License: Boost Software License 1.0
Tags: Miscellaneous     Header Only     Cross-platform     Library     C++14    
Latest version: v0.8.2

strf alternatives and similar libraries

Based on the "Miscellaneous" category.
Alternatively, view strf alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of strf or a related project?

Add another 'Miscellaneous' Library

README

Strf

Version: 0.12.2

Branch Travis Appveyor codecov.io
develop Build Status Build Status codecov
master Build Status Build Status codecov

Gitter chat

Strf is a C++ formatting library that

  • is fast ( see the benchmarks )
  • supports all character types (char, char8_t, char16_t, char32_t and wchar_t)
  • supports encoding conversion.
  • can be used as header-only as well as static library.

Documentation

The introduction is what you should read first.

After that, the quick reference provides a nice overview of the library's capabilities. It is the document that people are supposed to visit more often.

At last, there are the header references, which aim to be a more accurate and complete.

Acknowledgments

  • This library uses Ryu to print floating-points. Thanks to Ulf Adams for creating such a great algorithm and providing a C implementation. It saved me a ton of work.
  • Thanks to Eyal Rozenberg -- the author of cuda-kat library -- for enabling strf to work on CUDA.

Requirements

Strf demands C++14 features. In the current state, it is known to work with the following compilers:

  • Clang 3.8 (with --std=c++14 option )
  • GCC 6 (with --std=c++14 option )
  • Visual Studio 2017 15.8