Nobuyuki Iwanaga

Results 136 comments of Nobuyuki Iwanaga

In terms of consistency between ref-like and ref locals, should ref locals be able to be used in iterator as long as not stepping over a `yield return`/`await`? ```cs //...

memo: ```cs ref struct Node { public T Value; public ref Node Next; // これ行けるようになるんだっけ? } ```

allow ref struct だけ C# 13 入り。 インターフェイス実装は preview のままらしい。

Action とかのデリゲートが一通り。 その結果、ラムダ式の自然な型にも変更が: ```cs var a1 = (Span x) => 1; Console.WriteLine(a1.GetType().Name); // Func`2 になった。 ``` IComparer とかの比較系のインターフェイスも一通り。 一番うれしいのは AlternateLookup かも。 ```cs Dictionary d = new(StringComparer.Ordinal) { { "key", 1...

https://github.com/ufcpp-live/UfcppLiveAgenda/issues/91

先に「アンチ制約」の説明だけ追加 https://ufcpp.net/study/csharp/sp2_generics.html#anti-constraint

https://ufcpp.net/study/csharp/resource/refstruct/#ref-struct-interface https://ufcpp.net/study/csharp/cheatsheet/ap_ver13/#ref-struct-interface

「params Span はデフォルトで scoped 扱い」というのがあるので、いい加減 https://github.com/ufcpp/UfcppSample/issues/413 を完成させたい。

https://github.com/ufcpp-live/UfcppLiveAgenda/issues/89#issuecomment-2048832955

https://ufcpp.net/study/csharp/cheatsheet/ap_ver13/#params-collections https://ufcpp.net/study/csharp/sp_params.html#params-collections