ruby: add BoolVec
Review Request #3184 - Created Oct. 30, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11190:0cb3f3e3f753 --------------------------- ruby: add BoolVec The BoolVec typedef and insertion operator overload function simplify usage of vectors of type bool
Ship It!
I guess I'm okay with this code going in.
However, in general, I really dislike renaming a C++ STL types just so that we can use them within SLICC (both BoolVec and IntVec). This obfuscates what these objects do by dissociating them from their C++ counterparts. This is especially painful for type-templated data structures, because you'll eventually need to declare a separate RubySlicc type for every container type you need inside SLICC. We should really find a clearer way to do this.
