Skip to content

Conversation

@mhoemmen
Copy link
Contributor

@mhoemmen mhoemmen commented Jul 23, 2024

Per LEWG chair request, make is_sufficiently_aligned a nonmember function.

Please merge PR #463 first; thanks!

mhoemmen added 5 commits July 10, 2024 14:18
Update based on further discussion with David Sankel.

* Rename `is_checkably_valid` to `detectably_invalid`
    (with inverted return value)

* Ask LEWG to consider the alternative design that makes
    `is_sufficiently_aligned` a nonmember function in `<bit>`
    instead of a member function of `aligned_accessor`,
    while LWG review of R2 proceeds concurrently

* P2389R2 was voted into the Working Draft at St. Louis,
    so replace use of `dextents` in examples with `dims`.

* Minor formatting and non-wording fixes
Add non-wording section explaining why `aligned_accessor`
has no `explicit` constructor from less to more alignment.
@mhoemmen mhoemmen force-pushed the aligned_accessor-R4 branch 2 times, most recently from 7d8eea5 to 38b9433 Compare July 23, 2024 23:49
* Make is_sufficiently_aligned a nonmember function
  (in the wording)

* Fix nonwording sections accordingly

* Minor correction in Example in Wording

* Update implementation Compiler Explorer link
  and source code (Appendix B)
@mhoemmen mhoemmen force-pushed the aligned_accessor-R4 branch from 0ca4482 to 081271e Compare July 24, 2024 17:11
@mhoemmen mhoemmen marked this pull request as ready for review July 24, 2024 17:37
@mhoemmen mhoemmen force-pushed the aligned_accessor-R4 branch from 535e3b6 to 2dd224f Compare July 24, 2024 20:12
@mhoemmen mhoemmen changed the title P2897 (aligned_accessor): R4 P2897R4: aligned_accessor Jul 24, 2024
@mhoemmen
Copy link
Contributor Author

Superseded by PR #466 .

@mhoemmen mhoemmen closed this Oct 16, 2024
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.

1 participant