changeset 8:42e6dd499688 draft

modify resume.tex
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 21 Feb 2012 18:09:21 +0900
parents 1f5bfcd8b685
children 942888c0f8aa
files paper/resume.tex
diffstat 1 files changed, 4 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/paper/resume.tex	Tue Feb 21 18:03:14 2012 +0900
+++ b/paper/resume.tex	Tue Feb 21 18:09:21 2012 +0900
@@ -141,27 +141,17 @@
 
 \section{構文の追加}
 
-\subsection{``\_\_rectype''構文}
+\subsection{``\_\_rectype'', ``selftype'' 構文}
 %\verb+__rectype+キーワードはリカーシブタイプを宣言する時に使われる.
 通常, 関数定義において引数の中に自分自身を指す関数ポインタを入れることはできない.
 そこで, \verb+__rectype+を使うことでlisting\ref{code:rectype}の用な宣言が行うことができる.
-この時\verb+__rectype+は funcPtr を指す.
+また, 構造体の宣言時に宣言中の構造体を指す``selftype'' 構文の追加も行った.
+listing\ref{code:rectype}の様な宣言が行えるようになった.
+この時\verb+__rectype+は funcPtr を指し, selftype は struct node を指す.
 \begin{figure}[h]
   \begin{minipage}[b]{.45\textwidth}
     \begin{lstlisting}[caption=\_\_rectype 構文使用例,label=code:rectype]
 typedef (*funcPtr)(int,__rectype*);
-    \end{lstlisting}
-  \end{minipage}
-  \hfill
-\end{figure}
-
-\subsection{selftype 構文}
-selftype 構文は構造体の宣言時に使われる.
-listing\ref{code:selftype}な宣言が行える.
-この場合, selftype は struct node を指す.
-\begin{figure}[h]
-  \begin{minipage}[b]{.45\textwidth}
-    \begin{lstlisting}[caption=selftype 構文使用例,label=code:selftype]
 struct node {
  int num;
  selftype child;