base: Clean up redundant string functions and use C++11
Review Request #2379 - Created Sept. 10, 2014 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10372:04967bb57480 --------------------------- base: Clean up redundant string functions and use C++11 This patch does a bit of housekeeping on the string helper functions and relies on the C++11 standard library where possible. It also does away with our custom string hash as an implementation is already part of the standard library.
Posted (Sept. 10, 2014, 8:39 p.m.)
-
src/base/str.hh (Diff revision 1) -
I've gotta say that it really sucks that you have to add these blurbs to these sorts of files. Whenever you do it, you then basically make it so I can't actually ever use that code in some other project. Can you really not get by without this license for stuff in base?
Review request changed
Updated (Sept. 11, 2014, 2:17 a.m.)
Description: |
|
|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+97 -327) |
