Closed drexlerd closed 10 months ago
Cleanest solution is probably to not assume that the output of str()
is a parseable representation and provide a separate str(Requirements& requirement)
function that outputs a parseable representation. We can simply provide customizations for the few exceptions.
I have troubles printing the parameter list of a
Predicate
because the"object"
type should not be printed if:typing
is disabled. Furthermore the print function should not take additional arguments since we want to overload theoperator<<
ofsd::ostream
.