cpp-proposals-pub icon indicating copy to clipboard operation
cpp-proposals-pub copied to clipboard

Add P3050R1 ("Fix C++26 by optimizing linalg::conjugated for noncomplex value types")

Open mhoemmen opened this issue 1 year ago • 0 comments

Abstract:

We propose the following change to the C++ Working Paper. If an mdspan object x has noncomplex value_type, and if that mdspan does not already have accessor type conjugated_accessor<A> for some nested accessor type A, then we propose to change conjugated(x) just to return x. Delaying this until after C++26 would be a breaking change.

I submitted this today (2024/04/08) as P3050R1.

This supersedes PR https://github.com/ORNL/cpp-proposals-pub/pull/437 , which I created in November 2023, and which still hasn't been merged.

mhoemmen avatar Apr 08 '24 21:04 mhoemmen