-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
It would be useful if the chai::ManagedArray provided some of the standard typedefs that ordinary C++ STL containers generally provide. I was thinking a nice set would be at least:
- value_type: The type of element stored in the container (e.g., int, std::string, or a custom class).
- reference: A reference to an element (value_type&).
- pointer: A pointer to an element (value_type*).
- size_type: An unsigned integer type that can represent the size of the largest possible container (often std::size_t).
Since the chai::ManagedArray has reference copy semantics I'm not sure how folks feel about the const_* versions of these (like const_reference), but those wouldn't hurt either. Still the basic four above would be might useful by themselves.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels