src/libtsduck/base/tsUString.cpp
ts::UString::UString(const ::WCHAR* s, const allocator_type& alloc) :
    UString(s == 0 ? &CHAR_NULL : reinterpret_cast<const UChar*>(s), alloc)
{
    assert(sizeof(::WCHAR) == sizeof(UChar));
}
// Constructor using a Windows Unicode string.
Constructor using a Windows Unicode string.
Constructor using a Windows Unicode string .
ts::UString::UString(const ::WCHAR* s, const allocator_type& alloc) :
    UString(s == 0 ? &CHAR_NULL : reinterpret_cast<const UChar*>(s), alloc)
{
    assert(sizeof(::WCHAR) == sizeof(UChar));
}
ts :: UString :: UString ( const :: WCHAR * s , const allocator_type & alloc ) : UString ( s == 0 ? & CHAR_NULL : reinterpret_cast < const UChar * > ( s ) , alloc ) { assert ( sizeof ( :: WCHAR ) == sizeof ( UChar ) ) ; }
Constructor using a Windows Unicode string.
Constructor using a Windows Unicode string .