cgal/Manual_tools/test/Manual_tools/Spaces_Around_Pointer/main.tex

25 lines
867 B
TeX

Reference or pointer parameters can occur on both sides of the
separating space between the return type and the function or method
name. The formatting normalizes them to the left side. This
formatting is not done within the\footnotemark{} parameters (, but maybe in the
future). An example:
\footnotetext{Another footnote in this main file,
implemented with mark and text. Contains enough text to have a
linebreak. Or how about a paragraph?
Here it is. Or special macros and images, like \LaTeX.}%
\ccThree{Demo_Class&&}{p.x();}{}
\ccFunction{Demo_Class& foo1( int& a, int* b);}{}
\ccGlue
\ccFunction{Demo_Class* foo2( int& a, int* b);}{}
\ccGlue
\ccFunction{Demo_Class &foo3( int &a, int *b);}{}
\ccGlue
\ccFunction{Demo_Class *foo4( int &a, int *b);}{}
% ----------------------------------------------------------------------