System.AnsiStringT.Unique

From RAD Studio API Documentation
Jump to: navigation, search

C++

AnsiStringT&  Unique() {

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Makes the AnsiStringT unique.

Use this function to make a string unique (refcnt == 1). Unique sets the reference count on the string for the AnsiStringT object to 1, so that it is the only object referencing that string.