Skip to content

Conversation

ProGTX
Copy link
Contributor

@ProGTX ProGTX commented Sep 21, 2019

  1. Implicit conversion to const dataT
  2. Type traits for const conversions
  • For resolving access modes
  1. Free functions for casting accessors
  • static_pointer_cast, dynamic_pointer_cast,
    const_pointer_cast, reinterpret_pointer_cast
  1. Converting to a type of a different size
    requires get_count, get_range, and get_offset
    to return different values than the original accessor
  2. Examples for all casts

@ProGTX ProGTX force-pushed the ProGTX/accessor-cast branch 2 times, most recently from a39ac72 to ad47d5e Compare September 22, 2019 12:46
1. Implicit conversion to `const dataT`
2. Type traits for `const` conversions
  * For resolving access modes
3. Free functions for casting accessors
  * `static_pointer_cast`, `dynamic_pointer_cast`,
    `const_pointer_cast`, `reinterpret_pointer_cast`
4. Converting to a type of a different size
    requires `get_count`, `get_range`, and `get_offset`
    to return different values than the original accessor
5. Examples for all casts
@ProGTX ProGTX force-pushed the ProGTX/accessor-cast branch from ad47d5e to a0bc20f Compare September 22, 2019 18:38
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