Skip to content

safe_printf feature request #3

@rockeet

Description

@rockeet

I read and tested your safe_printf, it was amazed me...
So, what I need is not only "safe", but also "convenient", for example, I want (maybe many people want too) such a features:
When I write safe_printf<"%d %X %s">(10LL, 11L, std::string("abc")), my intention is really safe_printf<"%lld %lX %s">(10LL, 11L, std::string("abc").c_str()). In C++11, it is possible to convert the original format string with the intended one, so, we needn't to specify the redundant width format specifier and s.c_str() ect...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions