CASL / Futility

VERA Fortran Utilities
Other
44 stars 20 forks source link

Add constructor for string types #283

Closed aarograh closed 3 years ago

aarograh commented 4 years ago

Adds a constructor for string types. This allows interfaces to be defined only taking in string types, and the client code can simply cast native characters to the string type in the call to the routine if needed. Specifically this can be useful for testing where hard-coded strings will be common.