iterator.hpp File Reference
Include dependency graph for iterator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  number_iterator< T >
 
struct  ostream_joiner< DelimT, CharT, Traits >
 

Namespaces

 core
 
Copyright © 2013 - 2015 MNMLSTC.
 
 core::v2
 

Functions

template
<
class
Container
>
constexpr auto back (Container const &container) -> decltype(container.back())
 
template
<
class
Container
>
constexpr auto back (Container &container) -> decltype(container.back())
 
template<class T , ::std::size_t N>
constexpr T const & back (T const (&array)[N]) noexcept
 
template<class T , ::std::size_t N>
constexpr T & back (T(&array)[N]) noexcept
 
template
<
class
Container
>
auto cbegin (Container const &container) -> decltype(::std::begin(container))
 
template
<
class
Container
>
auto cend (Container const &container) -> decltype(::std::end(container))
 
template
<
class
Container
>
auto crbegin (Container const &container) -> decltype(rbegin(container))
 
template
<
class
Container
>
auto crend (Container const &container) -> decltype(rend(container))
 
template
<
class
Container
>
constexpr auto data (Container const &container) noexcept -> decltype(container.data())
 
template
<
class
Container
>
constexpr auto data (Container &container) noexcept -> decltype(container.data())
 
template<class T , ::std::size_t N>
constexpr T const * data (T const (&array)[N]) noexcept
 
template<class T , ::std::size_t N>
constexpr T * data (T(&array)[N]) noexcept
 
template
<
class
Container
>
constexpr bool empty (Container const &container) noexcept
 
template<class T , std::size_t N>
constexpr bool empty (T const (&)[N]) noexcept
 
template
<
class
Container
>
constexpr auto front (Container const &container) -> decltype(container.front())
 
template
<
class
Container
>
constexpr auto front (Container &container) -> decltype(container.front())
 
template<class T , ::std::size_t N>
constexpr T const & front (T const (&array)[N]) noexcept
 
template<class T , ::std::size_t N>
constexpr T & front (T(&array)[N]) noexcept
 
template
<
class
T
>
number_iterator< T > make_number_iterator (T value, T step) noexcept
 
template
<
class
T
>
number_iterator< T > make_number_iterator (T value) noexcept
 
template
<
class
CharT
,
class
Traits
,
class
DelimT
>
ostream_joiner< decay_t< DelimT >, CharT, Traits > make_ostream_joiner (::std::basic_ostream< CharT, Traits > &stream, DelimT &&delimiter)
 
template
<
class
Iterator
>
::std::reverse_iterator< Iterator > make_reverse_iterator (Iterator iter)
 
template
<
class
Container
>
auto rbegin (Container const &container) -> decltype(container.rbegin())
 
template
<
class
Container
>
auto rbegin (Container &container) -> decltype(container.rbegin())
 
template
<
class
Container
>
auto rend (Container const &container) -> decltype(container.rend())
 
template
<
class
Container
>
auto rend (Container &container) -> decltype(container.rend())
 
template
<
class
Container
>
constexpr auto size (Container const &container) noexcept -> decltype(container.size())
 
template<class T , ::std::size_t N>
constexpr ::std::size_t size (T const (&)[N]) noexcept
 
template
<
class
T
>
void swap (number_iterator< T > &lhs, number_iterator< T > &rhs) noexcept