Open
Description
Motivation
As I said in #562 , we can enhance the constructor of string_type
to support conversion of other types (integer
, real
, logical
, complex
) to string_type
, and support format
argument.
The important thing is that this constructor can be elemental
, type(string_type)
is very good at constructing flexible string arrays, but to_string
can only be pure
because character(:), allcoatable
.
At this stage, string_type
only constructs strings from character
, integer
, and logical
types.
Prior Art
Additional Information
No response