MCPcopy Create free account
hub / github.com/boostorg/json / sprintf

Function sprintf

test/double.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template<std::size_t N, class... Args>
27void
28sprintf(char (&buf)[N],
29 char const* format, Args&&... args)
30{
31#ifdef _MSC_VER
32 sprintf_s(buf, format,
33 std::forward<Args>(args)...);
34#else
35 std::snprintf(buf, N, format,
36 std::forward<Args>(args)...);
37#endif
38}
39
40class double_test
41{

Callers 1

testWithinULPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected