Skip to content

Conversation

@WeiqunZhang
Copy link
Member

Use std::function instead of function pointer for the initial and final function stacks. This is more flexible because we can now use lambda functions with captures (which cannot be converted to function pointer, but can be converted std::function).

Use std::function instead of function pointer for the initial and final
function stacks. This is more flexible because we can now use lambda
functions with captures (which cannot be converted to function pointer, but
can be converted std::function).
@WeiqunZhang WeiqunZhang requested a review from atmyers November 6, 2024 16:24
@WeiqunZhang WeiqunZhang merged commit f46a4e5 into AMReX-Codes:development Nov 6, 2024
57 of 59 checks passed
@WeiqunZhang WeiqunZhang deleted the finalizer_fn branch November 6, 2024 19:04
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