Skip to content

Beman.task migration utilities#275

Merged
dietmarkuehl merged 17 commits into
bemanproject:mainfrom
JorgeV92:beman-task-migration
May 17, 2026
Merged

Beman.task migration utilities#275
dietmarkuehl merged 17 commits into
bemanproject:mainfrom
JorgeV92:beman-task-migration

Conversation

@JorgeV92
Copy link
Copy Markdown
Collaborator

Added standalone detail utilities from beman.task into execution/include/beman/execution/detail

@coveralls
Copy link
Copy Markdown

coveralls commented May 14, 2026

Coverage Status

coverage: 95.409%. remained the same — JorgeV92:beman-task-migration into bemanproject:main

Copy link
Copy Markdown
Member

@dietmarkuehl dietmarkuehl left a comment

Choose a reason for hiding this comment

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

The changes are an improvement although there are some thing missing (as noted on the files directly). Also, I think the different components need to be modularized to eventually work when building modules. However, these changes can be made later.

Comment on lines +19 to +21
Allocator find_allocator() {
return Allocator();
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The flexible location of allocator_arg and allocator was removed as the last meeting before finalizing C++26: the allocator_arg and allocator are optionally the first arguments but they aren't taken from elsewhere.

* \internal
*/
template <typename Base, std::size_t Size = 4u * sizeof(void*)>
class alignas(sizeof(double)) poly {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The poly class is actually too constrained: while a short buffer optimizition is reasonable, it should have a way to fallback to allocating more memory when needed.

@dietmarkuehl dietmarkuehl merged commit 74b1888 into bemanproject:main May 17, 2026
38 checks passed
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