std::formatted_size

来自cppreference.com
< cpp‎ | utility‎ | format
 
 
 
 
在标头 <format> 定义
template< class... Args >
std::size_t formatted_size( std::format_string<Args...> fmt, Args&&... args );
(1) (C++20 起)
template< class... Args >
std::size_t formatted_size( std::wformat_string<Args...> fmt, Args&&... args );
(2) (C++20 起)
template< class... Args >

std::size_t formatted_size( const std::locale& loc,

                            std::format_string<Args...> fmt, Args&&... args );
(3) (C++20 起)
template< class... Args >

std::size_t formatted_size( const std::locale& loc,