diff options
Added files from project 2 (mirror)
1 files changed, 38 insertions, 0 deletions
| -rw-r--r-- | Year 1/Object-oriented Programming/Project 2/docs/latex/structPair.tex | 38 |
diff --git a/Year 1/Object-oriented Programming/Project 2/docs/latex/structPair.tex b/Year 1/Object-oriented Programming/Project 2/docs/latex/structPair.tex new file mode 100644 index 0000000..b2af149 --- /dev/null +++ b/Year 1/Object-oriented Programming/Project 2/docs/latex/structPair.tex @@ -0,0 +1,38 @@ +\hypertarget{structPair}{}\doxysection{Pair\texorpdfstring{$<$}{<} T, U \texorpdfstring{$>$}{>} Struct Template Reference} +\label{structPair}\index{Pair$<$ T, U $>$@{Pair$<$ T, U $>$}} + + +Stores two values of any types. + + + + +{\ttfamily \#include $<$Pair.\+hpp$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{structPair_a0efd790912194b23e8ab1666d72c1d02}\label{structPair_a0efd790912194b23e8ab1666d72c1d02}} +{\bfseries Pair} (const T \&left, const U \&right) +\end{DoxyCompactItemize} +\doxysubsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{structPair_ae5a0c9a98dff3f275988d994925baa7b}\label{structPair_ae5a0c9a98dff3f275988d994925baa7b}} +T {\bfseries left} +\item +\mbox{\Hypertarget{structPair_a9a6c133899df28091f85637482caf474}\label{structPair_a9a6c133899df28091f85637482caf474}} +U {\bfseries right} +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +\subsubsection*{template$<$typename T, typename U$>$\newline +struct Pair$<$ T, U $>$} +Stores two values of any types. + +Values are public, so no explicit getters or setters are made. + +The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+Pair/\mbox{\hyperlink{Pair_8hpp}{Pair.\+hpp}}\end{DoxyCompactItemize} |
