Skip to content

Feature/cpp17 promise - #272

Merged
Oipo merged 10 commits into
apache:masterfrom
Oipo:feature/cpp17_promise
Aug 17, 2020
Merged

Feature/cpp17 promise#272
Oipo merged 10 commits into
apache:masterfrom
Oipo:feature/cpp17_promise

Conversation

@Oipo

@Oipo Oipo commented Jul 20, 2020

Copy link
Copy Markdown
Contributor

These changes are based on #270, which explain the duplicate changes. Once #270 is merged, the diff will be 'nicer'.

The most important change is to use std::optional instead of placement new/buffer.

@pnoltes

pnoltes commented Jul 20, 2020

Copy link
Copy Markdown
Contributor

Any idea why the builds are failing?

)
target_link_libraries(Promise INTERFACE TBB::tbb Threads::Threads)
target_compile_options(Promise INTERFACE -frtti) #Note needed for TBB
target_compile_options(Promise INTERFACE -frtti -std=c++17) #Note needed for TBB

@pnoltes pnoltes Jul 20, 2020

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.

The note, is only for -frtti not c++17

@Oipo
Oipo merged commit efee9f2 into apache:master Aug 17, 2020
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.

2 participants