xtd 0.2.0
Loading...
Searching...
No Matches

◆ demangle()

static ustring xtd::ustring::demangle ( const ustring name)
static

Gets demangled string of name,.

Parameters
nameThe name to demangle.
Returns
The demangled string of name.
Examples
The following example shows how to use xtd::ustring::demangle.
#include <xtd/xtd>
using namespace xtd;
auto main() -> int {
console::write_line("name = {}", typeid(xtd::date_time).name());
console::write_line("demangled name = {}", ustring::demangle(typeid(xtd::date_time).name()));
}
// This code produces the following output on macOS :
//
// name = N3xtd9date_timeE
// demangled name = xtd::date_time
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:85
static ustring demangle(const ustring &name)
Gets demangled string of name,.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10