Skip to content

[TEMPLATE] The "<<" operator is not guaranteed to be available for arbitrary types #28

@gynt

Description

@gynt

For example, if a function argument is of type MapperCommandUnion, compilation fails because the compiler cannot find a way to use << on that type.

Steps to reproduce are to define a FunctionResolver instance for a function with non-simple argument types, such as MapperCommandUnion. Then try to compile.

I think it is caused here:

#define MACRO_STREAM_PRINT_PARAMETER_LIST(N) MACRO_INDEX_ITERATE_DEPTH_0(N, MACRO_STREAM_PRINT_PARAMETER, << ", ")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions