Skip to content

[cpp] export isl_printer functionality #6

@ftynse

Description

@ftynse

It can fit a custom stream object, similarly to std::stringstream, which has state and can accept any relevant objects using operator <<. This way, it will be possible to configure the output formats of the isl_printer. The different between printer_to_file and printer_to_str can be resolved, e.g., with inheritance. It would be nice if printer_to_str behaved similarly to std::stringstream. Finally, callbacks accepting/returning a printer object can accept/return a stream object instead, which is compatible with C++ notion of a stream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions