vk2gpu / Engine

Game Engine
Other
126 stars 14 forks source link

String & StringView usage #7

Open vk2gpu opened 7 years ago

vk2gpu commented 7 years ago

Initially I stuck with just passing around "const char*", and where appropriate also a size. This can be a bit bulky, and would be better passing around Core::StringView for all read only access, and Core::String for writing.

Before using any of these more widely, there should also be a fixed size string container.