ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
I really like how he is driving the goal of having nice to read code as the important as the execution speed.
Excellent talk - slides were particularly wonderful insofar as the color coding. Looking forward to mdspan!
Slide 42: `extent` can return an int or "dynamic", so you'd have to cast it first.
Is there already a proposal for integrating this md-range feature into the C++ standard?
Slide 46: the `[=]` should be `[&]` otherwise you can not write `B`.
I think you are referring to slide 45, but anyway `[=]` is okay, because span and mdspan are "reference types". This is similar to shared_ptr for example, that the referred object can mutate even with `const shared_ptr`.
I really like how he is driving the goal of having nice to read code as the important as the execution speed.
Excellent talk - slides were particularly wonderful insofar as the color coding. Looking forward to mdspan!
Slide 42: `extent` can return an int or "dynamic", so you'd have to cast it first.
Is there already a proposal for integrating this md-range feature into the C++ standard?
Slide 46: the `[=]` should be `[&]` otherwise you can not write `B`.
I think you are referring to slide 45, but anyway `[=]` is okay, because span and mdspan are "reference types". This is similar to shared_ptr for example, that the referred object can mutate even with `const shared_ptr`.