Cost of string copy constructor vs constructing string from string_view

前端 未结 0 386
我寻月下人不归
我寻月下人不归 2021-01-31 20:41

in our code base we have lots "enum-to-string" arrays, e.g. array> used to get a string from an enum.

Those arrays cannot be constexpr, s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题