str: add an overloaded startswith() utility method
Review Request #1324 - Created July 26, 2012 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9131:f1095e71a98d --------------------------- str: add an overloaded startswith() utility method for various string types and use it in a few places.
Issue Summary
2
2
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| How about using STL strings instead and relying on compare? | Andreas Hansson | July 26, 2012, 5:14 p.m. | Open |
| Any particular reason for the C style strings instead of C++ STL strings? | Andreas Hansson | July 26, 2012, 5:14 p.m. | Open |
Ship It!
Posted (July 26, 2012, 5:14 p.m.)
-
src/base/str.hh (Diff revision 1) -
How about using STL strings instead and relying on compare?
-
src/base/str.hh (Diff revision 1) -
Any particular reason for the C style strings instead of C++ STL strings?
Ship It!
