xentara-utils v2.0.4
The Xentara Utility Library
|
Threading functionality. More...
Namespaces | |
namespace | deprecated |
Functions | |
Formatting Functions | |
template<typename Char , typename CharTraits = std::char_traits<Char>> | |
auto | toBasicString (std::thread::id id=std::this_thread::get_id()) -> std::basic_string< Char, CharTraits > |
Converts a thread ID to a string. | |
template<typename Char , typename CharTraits = std::char_traits<Char>> | |
auto | toBasicString (const std::thread &thread) -> std::basic_string< Char, CharTraits > |
Converts the thread ID of a thread to a string. | |
auto | toString (std::thread::id id=std::this_thread::get_id()) -> std::string |
Converts a thread ID to a string of type char | |
auto | toString (const std::thread &thread) -> std::string |
Converts the thread ID of a thread to a string of type char | |
auto | toWString (std::thread::id id=std::this_thread::get_id()) -> std::wstring |
Converts a thread ID to a string of type wchar_t | |
auto | toWString (const std::thread &thread) -> std::wstring |
Converts the thread ID of a thread to a string of type wchar_t | |
auto | toU8String (std::thread::id id=std::this_thread::get_id()) -> std::u8string |
Converts a thread ID to a string of type char8_t | |
auto | toU8String (const std::thread &thread) -> std::u8string |
Converts the thread ID of a thread to a string of type char8_t | |
auto | toU16String (std::thread::id id=std::this_thread::get_id()) -> std::u16string |
Converts a thread ID to a string of type char16_t | |
auto | toU16String (const std::thread &thread) -> std::u16string |
Converts the thread ID of a thread to a string of type char16_t | |
auto | toU32String (std::thread::id id=std::this_thread::get_id()) -> std::u32string |
Converts a thread ID to a string of type char32_t | |
auto | toU32String (const std::thread &thread) -> std::u32string |
Converts the thread ID of a thread to a string of type char32_t | |
Threading functionality.
This namespace contains functionality related to threads.
auto xentara::utils::threads::toBasicString | ( | const std::thread & | thread | ) | -> std::basic_string<Char, CharTraits> |
Converts the thread ID of a thread to a string.
#include <xentara/utils/threads/toString.hpp>
thread | The thread |
auto xentara::utils::threads::toBasicString | ( | std::thread::id | id = std::this_thread::get_id() | ) | -> std::basic_string<Char, CharTraits> |
Converts a thread ID to a string.
#include <xentara/utils/threads/toString.hpp>
id | The thread ID |
auto xentara::utils::threads::toString | ( | const std::thread & | thread | ) | -> std::string |
Converts the thread ID of a thread to a string of type char
#include <xentara/utils/threads/toString.hpp>
thread | The thread |
auto xentara::utils::threads::toString | ( | std::thread::id | id = std::this_thread::get_id() | ) | -> std::string |
Converts a thread ID to a string of type char
#include <xentara/utils/threads/toString.hpp>
id | The thread ID |
auto xentara::utils::threads::toU16String | ( | const std::thread & | thread | ) | -> std::u16string |
Converts the thread ID of a thread to a string of type char16_t
#include <xentara/utils/threads/toString.hpp>
thread | The thread |
auto xentara::utils::threads::toU16String | ( | std::thread::id | id = std::this_thread::get_id() | ) | -> std::u16string |
Converts a thread ID to a string of type char16_t
#include <xentara/utils/threads/toString.hpp>
id | The thread ID |
auto xentara::utils::threads::toU32String | ( | const std::thread & | thread | ) | -> std::u32string |
Converts the thread ID of a thread to a string of type char32_t
#include <xentara/utils/threads/toString.hpp>
thread | The thread |
auto xentara::utils::threads::toU32String | ( | std::thread::id | id = std::this_thread::get_id() | ) | -> std::u32string |
Converts a thread ID to a string of type char32_t
#include <xentara/utils/threads/toString.hpp>
id | The thread ID |
auto xentara::utils::threads::toU8String | ( | const std::thread & | thread | ) | -> std::u8string |
Converts the thread ID of a thread to a string of type char8_t
#include <xentara/utils/threads/toString.hpp>
thread | The thread |
auto xentara::utils::threads::toU8String | ( | std::thread::id | id = std::this_thread::get_id() | ) | -> std::u8string |
Converts a thread ID to a string of type char8_t
#include <xentara/utils/threads/toString.hpp>
id | The thread ID |
auto xentara::utils::threads::toWString | ( | const std::thread & | thread | ) | -> std::wstring |
Converts the thread ID of a thread to a string of type wchar_t
#include <xentara/utils/threads/toString.hpp>
thread | The thread |
auto xentara::utils::threads::toWString | ( | std::thread::id | id = std::this_thread::get_id() | ) | -> std::wstring |
Converts a thread ID to a string of type wchar_t
#include <xentara/utils/threads/toString.hpp>
id | The thread ID |