Skip to content
forked from mmc1993/sformat

这是一个超级轻量级的 C++ String Format 实现

Notifications You must be signed in to change notification settings

AnkyZhang/sformat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sformat

这是一个超级轻量级的 C++ String Format 实现

This is a super lightweight C++ String Format implementation

示例:

// c++ code

auto str = SFormat("hello world, {0}, {0}, {1}, {2}, {3}", 123, 1.23, "123", std::string("123"));

// output:

hello world, 123, 123, 1.23, 123, 123

About

这是一个超级轻量级的 C++ String Format 实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%