>>478
> https://timsong-cpp.github.io/cppwp/n3337/expr.shift
> The behavior is undefined if the right operand is negative, or greater than
> or equal to the length in bits of the promoted left operand.
シフト演算子では右オペランドが (昇格済みの) 左オペランドの幅以上の値だったときは未定義。
C++相談室 part162
■ このスレッドは過去ログ倉庫に格納されています
482はちみつ餃子 ◆8X2XSCHEME (ワッチョイ 9e3e-7kHv)
2022/12/03(土) 10:04:27.89ID:riW5om/o0■ このスレッドは過去ログ倉庫に格納されています
