Skip to content

inclusion of 'iostream' for output? #12

@JuergenDingel

Description

@JuergenDingel

My solutions appears to need an '#include ' to be able to compile models with , but the sample solution does not seem to contain that.

E.g., the following compiles, but if the include is removed, it does not

capsule Top {    
    [[rt::impl_preface]]
    ` #include <iostream> `
    statemachine {
        state State;
        initial -> State
        `
            Log::out << "Hello World!" << std::endl;
            exit(0);
        `;
    };
};

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