Files
Xenia-Canary/src/xenia/base/string.h
gibbed 5bf0b34445 C++17ification.
C++17ification!

- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
  std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00

25 lines
766 B
C++

/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2020 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_BASE_STRING_H_
#define XENIA_BASE_STRING_H_
#include <string>
#include "utf8.h"
namespace xe {
std::string to_utf8(const std::u16string_view source);
std::u16string to_utf16(const std::string_view source);
} // namespace xe
#endif // XENIA_BASE_STRING_H_