blob: c0d744261ed24dfdb0fb63ccb54786c2c291b749 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
\hypertarget{Pair_8hpp_source}{}\doxysection{Pair.\+hpp}
\label{Pair_8hpp_source}\index{src/Generic/Pair/Pair.hpp@{src/Generic/Pair/Pair.hpp}}
\mbox{\hyperlink{Pair_8hpp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef PAIR}}
\DoxyCodeLine{2 \textcolor{preprocessor}{\#define PAIR}}
\DoxyCodeLine{3 }
\DoxyCodeLine{12 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T, \textcolor{keyword}{typename} U>}
\DoxyCodeLine{13 \textcolor{keyword}{struct }\mbox{\hyperlink{structPair}{Pair}} \{}
\DoxyCodeLine{14 T left;}
\DoxyCodeLine{15 U right;}
\DoxyCodeLine{16 }
\DoxyCodeLine{17 \mbox{\hyperlink{structPair}{Pair}}();}
\DoxyCodeLine{18 \mbox{\hyperlink{structPair}{Pair}}(\textcolor{keyword}{const} T\& left, \textcolor{keyword}{const} U\& right);}
\DoxyCodeLine{19 \};}
\DoxyCodeLine{20 }
\DoxyCodeLine{21 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T, \textcolor{keyword}{typename} U>}
\DoxyCodeLine{22 \mbox{\hyperlink{structPair}{Pair<T, U>::Pair}}() : left(), right() \{\}}
\DoxyCodeLine{23 }
\DoxyCodeLine{24 }
\DoxyCodeLine{25 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T, \textcolor{keyword}{typename} U>}
\DoxyCodeLine{26 \mbox{\hyperlink{structPair}{Pair<T, U>::Pair}}(\textcolor{keyword}{const} T\& left, \textcolor{keyword}{const} U\& right) : left(left), right(right) \{\}}
\DoxyCodeLine{27 }
\DoxyCodeLine{28 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}
|