Files
OpenVulkano/openVulkanoCpp/Data/Containers/String.cpp
2025-10-14 15:47:48 +02:00

13 lines
372 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include "String.hpp"
#include <utf8.h>
namespace OpenVulkano
{
size_t String::CharCount() const { return utf8::distance(m_string.begin(), m_string.end()); }
}