Avoids the need to create a copy of the std::string instance (potentially allocating). The only reason RegisterService takes its argument by value is because it's std::moved internally. |
||
|---|---|---|
| .. | ||
| controller.cpp | ||
| controller.h | ||
| sm.cpp | ||
| sm.h | ||
Avoids the need to create a copy of the std::string instance (potentially allocating). The only reason RegisterService takes its argument by value is because it's std::moved internally. |
||
|---|---|---|
| .. | ||
| controller.cpp | ||
| controller.h | ||
| sm.cpp | ||
| sm.h | ||