mirror of https://github.com/CGAL/cgal
\ccEmptyParameter eliminated.
This commit is contained in:
parent
fac19a0bb3
commit
501ba211f1
|
|
@ -398,7 +398,7 @@
|
||||||
\newcommand{\ccDollar }{\$}
|
\newcommand{\ccDollar }{\$}
|
||||||
|
|
||||||
% The sign for an empty parameter (i.e. of the type of the current class).
|
% The sign for an empty parameter (i.e. of the type of the current class).
|
||||||
\newcommand{\ccEmptyParameter}{$\diamondsuit$}
|
% \newcommand{\ccEmptyParameter}{$\diamondsuit$}
|
||||||
|
|
||||||
% Set the catcodes according to the C++ character set (including operators).
|
% Set the catcodes according to the C++ character set (including operators).
|
||||||
\gdef\ccCatcode {%
|
\gdef\ccCatcode {%
|
||||||
|
|
@ -2067,7 +2067,7 @@
|
||||||
% definition. It uses the \ccPureClassTemplateName to build a matching
|
% definition. It uses the \ccPureClassTemplateName to build a matching
|
||||||
% pattern to detect a possible type name to be eliminated. Similar
|
% pattern to detect a possible type name to be eliminated. Similar
|
||||||
% solution as \ccReplacePrefix.
|
% solution as \ccReplacePrefix.
|
||||||
% If the function argument is empty, \ccEmptyParameter is printed.
|
% If the function argument is empty, \ccPureClassTemplateName is printed.
|
||||||
% The parameter has to be delimited with "<>\ccEnd".
|
% The parameter has to be delimited with "<>\ccEnd".
|
||||||
% Ignore leading spaces.
|
% Ignore leading spaces.
|
||||||
\def\ccPrintOwnClassParameter #1#2<>\ccEnd{%
|
\def\ccPrintOwnClassParameter #1#2<>\ccEnd{%
|
||||||
|
|
@ -2110,11 +2110,11 @@
|
||||||
\fi
|
\fi
|
||||||
}%
|
}%
|
||||||
% local macro to remove the trailing \ccPureClassTemplateName.
|
% local macro to remove the trailing \ccPureClassTemplateName.
|
||||||
% If the function argument is empty, print \ccEmptyParameter.
|
% If the function argument is empty, print \ccPureClassTemplateName.
|
||||||
% ##1 is the text before \ccPureClassTemplateName
|
% ##1 is the text before \ccPureClassTemplateName
|
||||||
\def\ccRepOwnClassX ##1#1\ccEnd{%
|
\def\ccRepOwnClassX ##1#1\ccEnd{%
|
||||||
\isEmpty{##1}\ifnum\ccBool=\ccTrue
|
\isEmpty{##1}\ifnum\ccBool=\ccTrue
|
||||||
\ccEmptyParameter
|
\ccPrintTokens #1\ccEnd
|
||||||
\else
|
\else
|
||||||
\ccPrintTokens ##1\ccEnd% \ccRepOwnClassXX was superfluous here.
|
\ccPrintTokens ##1\ccEnd% \ccRepOwnClassXX was superfluous here.
|
||||||
\fi
|
\fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue