C++ Logo

std-discussion

Advanced search

Re: Schrödinger's UB

From: Jiang An <de34_at_[hidden]>
Date: Sat, 03 Dec 2022 20:19:06 +0800
I guess this is addressed by P1494.

> std::cout << "% Type " << j << " to not invoke UB" << std::endl;

Presumably you should output `i` instead of `j` here.

Yours,
Jiang An
在 2022年12月3日 19:56,Lénárd Szolnoki via Std-Discussion <std-discussion_at_[hidden]>写道:

I guess this is addressed by P1494.<br>> std::cout << "% Type " << j << " to not invoke UB" << std::endl;<br>

Received on 2022-12-03 12:19:21