Skip to content

Conversation

@BillyONeal
Copy link
Member

No description provided.

@BillyONeal BillyONeal requested a review from a team as a code owner July 8, 2020 01:18
@BillyONeal BillyONeal self-assigned this Jul 8, 2020
@sylveon
Copy link
Contributor

sylveon commented Jul 8, 2020

Great, now we just need the entirety of declspec also ported to C++11 attributes 😄

Co-authored-by: Casey Carter <cartec69@gmail.com>
@BillyONeal BillyONeal requested a review from CaseyCarter July 8, 2020 02:08
Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a PR description, explaining briefly what [[msvc::noop_dtor]] is, and why we want to use it in the STL?

@StephanTLavavej

This comment has been minimized.

@BillyONeal BillyONeal added the performance Must go faster label Jul 8, 2020
@MikeGitb
Copy link

MikeGitb commented Jul 9, 2020

Is there public documentation for this attribute somewhere?

@sylveon
Copy link
Contributor

sylveon commented Jul 9, 2020

If I'm the first result in Google, that probably means no

image

@BillyONeal
Copy link
Member Author

Is there public documentation for this attribute somewhere?

No, it's only in nightly builds of the compiler right now; though the rationale for it is effectively this comment block:

// Specifically, we want the error category objects returned from things like std::system_category() to always

Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more round of questions, then I think this will be good to go! 😸

Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had questions about ctor noexcept and brace style, but I don't think they should block merging. (I would still like a one-line PR description to be edited in though)

@StephanTLavavej

This comment has been minimized.

@StephanTLavavej

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@BillyONeal BillyONeal merged commit 6c04496 into microsoft:master Jul 21, 2020
@BillyONeal BillyONeal deleted the no_atexit_dtor branch July 21, 2020 07:55
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Jul 28, 2020
…sion 16.8. (microsoft#1016)

Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
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