|
@@ -42,15 +42,14 @@ is_fully_specified() const {
|
|
|
void CPPClassTemplateParameter::
|
|
void CPPClassTemplateParameter::
|
|
|
output(ostream &out, int indent_level, CPPScope *scope, bool complete) const {
|
|
output(ostream &out, int indent_level, CPPScope *scope, bool complete) const {
|
|
|
if (complete) {
|
|
if (complete) {
|
|
|
- if (_ident != NULL) {
|
|
|
|
|
- out << "class ";
|
|
|
|
|
- _ident->output(out, scope);
|
|
|
|
|
- } else {
|
|
|
|
|
- out << "class";
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ out << "class";
|
|
|
if (_packed) {
|
|
if (_packed) {
|
|
|
out << "...";
|
|
out << "...";
|
|
|
}
|
|
}
|
|
|
|
|
+ if (_ident != NULL) {
|
|
|
|
|
+ out << " ";
|
|
|
|
|
+ _ident->output(out, scope);
|
|
|
|
|
+ }
|
|
|
if (_default_type) {
|
|
if (_default_type) {
|
|
|
out << " = ";
|
|
out << " = ";
|
|
|
_default_type->output(out, indent_level, scope, false);
|
|
_default_type->output(out, indent_level, scope, false);
|