boostorg / boostorg/hana

Please document hana::transform side effect ordering

Open
#448 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.9k
Forks
225
PR merge metrics
No merged PRs in 30d

Description

GCC appears to evaluate transform function calls out of order, which I think it's allowed to do because function argument evaluation order is undefined. Hana should explicitly document the lack of ordering guarantees in transform.

Contributor guide

Open the contributing guide

Research direction

Locate the documentation for hana::transform and review its existing description of invocation behavior. Document that transform provides no ordering guarantee for its function calls, then verify that the wording accurately reflects the reported GCC behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.