Ada Programming/Attributes/'Wide Image

Description

edit

Image of the value of X as a Wide_String.

S'Wide_Image calls S'Put_Image passing Arg (which will typically store a sequence of character values in a text buffer) and then returns the result of retrieving the contents of that buffer with function Wide_Get.

X'Wide_Image denotes the result of calling function S'Wide_Image with Arg being X, where S is the nominal subtype of X (Ada 2022).

Example

edit
SWide_Image (X:S) return Wide_String
XWide_Image return Wide_String -- Ada 2022