Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@achabense
Copy link
Contributor

For example, void _Xran() const ~> static void _Xran().

@achabense achabense requested a review from a team as a code owner June 8, 2023 03:47
@achabense achabense closed this Jun 8, 2023
@achabense achabense reopened this Jun 8, 2023
@fsb4000
Copy link
Contributor

fsb4000 commented Jun 8, 2023

Remove some spaces at line below _Ty _Elems[_Size];

diff --git a/stl/inc/array b/stl/inc/array
index 1955ab12..53de2fd7 100644
--- a/stl/inc/array
+++ b/stl/inc/array
@@ -571,7 +571,7 @@ public:
     }
 
     _Ty _Elems[_Size];
-    
+
 private:
     [[noreturn]] static void _Xran() {
         _Xout_of_range("invalid array<T, N> subscript");

@CaseyCarter CaseyCarter added the performance Must go faster label Jun 8, 2023
@StephanTLavavej StephanTLavavej self-assigned this Jun 14, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 444ea04 into microsoft:main Jun 15, 2023
@StephanTLavavej
Copy link
Member

Thanks for this small cleanup to improve codegen, and congratulations on the first of several microsoft/STL commits! 🎉 😻 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Must go faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants