MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
vsprintf.hpp
浏览该文件的文档.
1#ifndef MSTL_CORE_STRING_VSPRINTF_HPP__
2#define MSTL_CORE_STRING_VSPRINTF_HPP__
3
10
12#include <cstdarg>
14
20
32int MSTL_API vsprintf(char* buf, const char* fmt, std::va_list args) noexcept;
33
44int MSTL_API vsnprintf(char* buf, size_t size, const char* fmt, std::va_list args) noexcept;
45
55int MSTL_API sprintf(char* buf, const char* fmt, ...) noexcept;
56
67int MSTL_API snprintf(char* buf, size_t size, const char* fmt, ...) noexcept;
68
77int MSTL_API scprintf(const char* fmt, ...) noexcept;
78 // CLikeFormatFunctions
80
82#endif // MSTL_CORE_STRING_VSPRINTF_HPP__
int MSTL_API vsprintf(char *buf, const char *fmt, std::va_list args) noexcept
格式化到缓冲区
int MSTL_API scprintf(const char *fmt,...) noexcept
计算格式化字符串所需缓冲区大小
int MSTL_API snprintf(char *buf, size_t size, const char *fmt,...) noexcept
安全格式化到缓冲区
int MSTL_API vsnprintf(char *buf, size_t size, const char *fmt, std::va_list args) noexcept
安全格式化到缓冲区
int MSTL_API sprintf(char *buf, const char *fmt,...) noexcept
格式化到缓冲区
#define MSTL_END_NAMESPACE__
结束全局命名空间MSTL
#define MSTL_BEGIN_NAMESPACE__
开始全局命名空间MSTL
MSTL_NODISCARD MSTL_ALWAYS_INLINE constexpr decltype(auto) size(const Container &cont) noexcept(noexcept(cont.size()))
获取容器的大小
MSTL基本类型别名