\hypertarget{multi__span_8cpp_source}{}\doxysection{multi\+\_\+span.\+cpp}
\label{multi__span_8cpp_source}\index{tests/multi\_span.cpp@{tests/multi\_span.cpp}}
\mbox{\hyperlink{multi__span_8cpp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00001}00001 \textcolor{preprocessor}{\#if KBLIB\_USE\_CXX17}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00002}00002 }
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00003}00003 \textcolor{preprocessor}{\#  include "{}\mbox{\hyperlink{multi__span_8h}{kblib/multi\_span.h}}"{}}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00004}00004 \textcolor{preprocessor}{\#  include "{}catch.hpp"{}}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00005}00005 }
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00006}00006 \textcolor{preprocessor}{\#  include <array>}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00007}00007 \textcolor{preprocessor}{\#  include <sstream>}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00008}00008 }
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00009}\mbox{\hyperlink{multi__span_8cpp_a1b9ca8f81c131634f582c81e53f58eb2}{00009}} \mbox{\hyperlink{multi__span_8cpp_a1b9ca8f81c131634f582c81e53f58eb2}{TEST\_CASE}}(\textcolor{stringliteral}{"{}multi\_span"{}}) \{}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00010}00010    std::array<std::array<int, 10>, 10> arrs\{\};}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00011}00011    \mbox{\hyperlink{classkblib_1_1multi__span}{kblib::multi\_span<int>}} span\{arrs.\mbox{\hyperlink{classkblib_1_1multi__span_ad9c9b02c5e3242a23ff6dd7f2feeff18}{begin}}(), arrs.end()\};}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00012}00012    REQUIRE(std::distance(span.begin(), span.end()) == 10 * 10);}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00013}00013 \}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00014}00014 }
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00015}00015 \textcolor{preprocessor}{\#  if 0}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00016}00016 \mbox{\hyperlink{multi__span_8cpp_a1b9ca8f81c131634f582c81e53f58eb2}{TEST\_CASE}}(\textcolor{stringliteral}{"{}input iterators"{}}) \{}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00017}00017    std::istringstream i1(\textcolor{stringliteral}{"{}0 1 2 3 4 5 6 7 8 9"{}});}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00018}00018    std::istringstream i2(\textcolor{stringliteral}{"{}9 8 7 6 5 4 3 2 1 0"{}});}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00019}00019    \mbox{\hyperlink{classkblib_1_1multi__span}{kblib::multi\_span<int>}} span\{}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00020}00020        \{std::istream\_iterator<int>(i1), std::istream\_iterator<int>()\},}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00021}00021        \{std::istream\_iterator<int>(i2), std::istream\_iterator<int>()\}\};}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00022}00022 \}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00023}00023 \textcolor{preprocessor}{\#  endif}}
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00024}00024 }
\DoxyCodeLine{\Hypertarget{multi__span_8cpp_source_l00025}00025 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
