Skip to content

Isolate fast forwarder support into standalone header for more general use#397

Merged
Scottj1s merged 3 commits into
masterfrom
scottj1s_fast_forward_h
May 9, 2019
Merged

Isolate fast forwarder support into standalone header for more general use#397
Scottj1s merged 3 commits into
masterfrom
scottj1s_fast_forward_h

Conversation

@Scottj1s

@Scottj1s Scottj1s commented May 9, 2019

Copy link
Copy Markdown
Member

No description provided.

@@ -1,3 +1,13 @@
#include <cstddef>
#include <atomic>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is std::atomic safe for non-throwing code?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, it just compiles down to the various intrinsics and is explicitly noexcept.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ideally would be good to add a test case for this from the repo validating usage of just this header with /Eh-

@Scottj1s Scottj1s merged commit eb559b3 into master May 9, 2019
@Scottj1s Scottj1s deleted the scottj1s_fast_forward_h branch May 9, 2019 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants