77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
}
return out << name;
}
ostream& ToString( ostream& out, const Hole& x )
{
if( x.flavor() == TSID( anyflavor ) )
return out << "$(" << x.name() << ')';
return out << '$' << x.name() << '(' << x.flavor() << ')';
}
ostream& ToString( ostream& out, const ptr< void >& x )
{
return out << "pvoid(" << x << ')';
}
|
|
|
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
}
return out << name;
}
ostream& ToString( ostream& out, const Hole& x )
{
if( x.kind() == TSID( anykind ) )
return out << "$(" << x.name() << ')';
return out << '$' << x.name() << '(' << x.kind() << ')';
}
ostream& ToString( ostream& out, const ptr< void >& x )
{
return out << "pvoid(" << x << ')';
}
|