Avoids copies from being made, since the string is only ever used for lookup, the data is never transfered anywhere. Ideally, we'd use a std::string_view here, but devices is a std::unordered_map, not a std::map, so we can't use heterogenous lookup here. |
||
|---|---|---|
| .. | ||
| devices | ||
| interface.cpp | ||
| interface.h | ||
| nvdrv.cpp | ||
| nvdrv.h | ||
| nvmemp.cpp | ||
| nvmemp.h | ||