Skip to content

Enhance string_type constructor #563

Open
@zoziha

Description

@zoziha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIDiscussion on a specific API for a proposal (exploratory)easyDifficulty level is easy and good for starting into this projectideaProposition of an idea and opening an issue to discuss ittopic: stringsString processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions