Trip Report: Winter ISO C++ Meeting in Tokyo, Japan -- David Sankel

tokyoreport.pngAnother meeting, another slew of potential changes to standard C++. In this recap, I’ll summarize the working draft’s most significant changes, spotlight my favorite proposal at the meeting, Member customization points for Senders and Receivers, and discuss a handful of notable developments.

Trip Report: Winter ISO C++ Meeting in Tokyo, Japan

by David Sankel

From the article:

What’s new in the draft standard?

This snippet summarizes the notable changes:


	void newapi();

	void oldapi() = delete(“oldapi() is outdated, use newapi() instead”);


	void f() {

	    std::println(); // Shorthand for ‘std::println(“”)’.


	    // Paths can be printed/formatted now.

	    std::println(“Here’s a path: {}”,



	    std::vector<int> x{1, 2, 3};

	    std::array<int,3> y{4, 5, 6};


	    // Outputs 1, 2, 3, 4, 5, and 6 separated by newlines.

	    for( auto i : std::views::concat(x, y) ) // concat is new from

	        std::cout << i << std::endl;         //


Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.