print

std::print()는 형식 문자열을 사용해 표준 출력에 값을 출력해요. C++23에서 추가됐어요.

출처: cppreference

본문

std::printstd::format과 같은 형식 문자열 문법으로 값을 출력해요.

template< class... Args >
void print( std::format_string<Args...> fmt, Args&&... args );

{...} 형식 지정자를 사용해 타입 안전하게 출력해요.

더 알아보기 (Learn more)

cppreference