YSTest: range.hpp 文件参考

YSTest PreAlpha_b900_20201012 The YSLib Test Project

类 | 命名空间 | 类型定义 | 函数
range.hpp 文件参考
YBaseLib » YStandardExtend

范围操作。 更多...

`#include "addressof.hpp"`
`#include <iterator>`
range.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

## 类

class | ystdex::cpp2017::reverse_iterator< _tIter >

## 命名空间

| ystdex
| `<memory>` 特性测试宏。
| ystdex::cpp2017
| 取约束范围的值。
| ystdex::cpp2014
| 使用 new 和指定参数构造指定类型的 std::unique_ptr 对象。

## 类型定义

template<typename _tRange >
using | ystdex::range_iterator_t = decltype(ystdex::begin(std::declval< _tRange & >()))
template<typename _tRange >
using | ystdex::range_const_iterator_t = decltype(ystdex::cbegin(std::declval< const _tRange & >()))

## 函数

template<class _tRange >
auto | ystdex::cpp2017::begin (_tRange &c) -> decltype(c.begin())
template<class _tRange >
auto | ystdex::cpp2017::begin (const _tRange &c) -> decltype(c.begin())
template<typename _type , size_t _vN>
_type * | ystdex::cpp2017::begin (_type(&array)[_vN])
template<class _tRange >
auto | ystdex::cpp2017::end (_tRange &c) -> decltype(c.end())
template<class _tRange >
auto | ystdex::cpp2017::end (const _tRange &c) -> decltype(c.end())
template<typename _type , size_t _vN>
_type * | ystdex::cpp2017::end (_type(&array)[_vN])
template<typename _type , size_t _vN>
_type * | ystdex::begin (_type(&&array)[_vN])
template<typename _type , size_t _vN>
_type * | ystdex::end (_type(&&array)[_vN])
template<typename _type , size_t _vN>
reverse_iterator< _type * > | ystdex::rbegin (_type(&&array)[_vN])
template<typename _type , size_t _vN>
reverse_iterator< _type * > | ystdex::rend (_type(&&array)[_vN])
template<typename _tRange >
auto | ystdex::cpp2014::cbegin (const _tRange &c) -> decltype(ystdex::begin(c))
template<typename _tRange >
auto | ystdex::cpp2014::cend (const _tRange &c) -> decltype(ystdex::end(c))
template<class _tRange >
auto | ystdex::cpp2017::rbegin (_tRange &c) -> decltype(c.rbegin())
template<class _tRange >
auto | ystdex::cpp2017::rbegin (const _tRange &c) -> decltype(c.rbegin())
template<typename _type , size_t _vN>
reverse_iterator< _type * > | ystdex::cpp2017::rbegin (_type(&array)[_vN])
template<typename _tElem >
reverse_iterator< const _tElem * > | ystdex::cpp2017::rbegin (std::initializer_list< _tElem > il)
template<class _tRange >
auto | ystdex::cpp2017::rend (_tRange &c) -> decltype(c.rend())
template<class _tRange >
auto | ystdex::cpp2017::rend (const _tRange &c) -> decltype(c.rend())
template<typename _type , size_t _vN>
reverse_iterator< _type * > | ystdex::cpp2017::rend (_type(&array)[_vN])
template<typename _tElem >
reverse_iterator< const _tElem * > | ystdex::cpp2017::rend (std::initializer_list< _tElem > il)
template<typename _tRange >
auto | ystdex::cpp2017::crbegin (const _tRange &c) -> decltype(ystdex::rbegin(c))
template<typename _tRange >
auto | ystdex::cpp2017::crend (const _tRange &c) -> decltype(ystdex::rend(c))
template<class _tRange >
auto | ystdex::cpp2017::size (const _tRange &c) -> decltype(c.size())
template<typename _type , size_t _vN>
size_t | ystdex::cpp2017::size (const _type(&)[_vN])
template<typename _tElem >
size_t | ystdex::cpp2017::size (std::initializer_list< _tElem > il)
template<class _tRange >
auto | ystdex::cpp2017::empty (const _tRange &c) -> decltype(c.empty())
template<typename _type , size_t _vN>
bool | ystdex::cpp2017::empty (const _type(&)[_vN])
template<typename _tElem >
bool | ystdex::cpp2017::empty (std::initializer_list< _tElem > il)
template<typename _tRange >
auto | ystdex::cpp2017::data (_tRange &c) -> decltype(c.data())
template<typename _tRange >
auto | ystdex::cpp2017::data (const _tRange &c) -> decltype(c.data())
template<typename _type , size_t _vN>
_type * | ystdex::cpp2017::data (_type(&array)[_vN])
template<typename _tElem >
const _tElem * | ystdex::cpp2017::data (std::initializer_list< _tElem > il)
template<typename _type , size_t _vN>
_type * | ystdex::data (_type(&&array)[_vN])
template<typename _tElem >
const _tElem * | ystdex::cpp2014::cbegin (std::initializer_list< _tElem > il)
template<typename _tElem >
const _tElem * | ystdex::cpp2014::cend (std::initializer_list< _tElem > il)
template<typename _tElem >
reverse_iterator< const _tElem * > | ystdex::cpp2014::crbegin (std::initializer_list< _tElem > il)
template<typename _tElem >
reverse_iterator< const _tElem * > | ystdex::cpp2014::crend (std::initializer_list< _tElem > il)

## 详细描述

范围操作。

版本
  r945

作者
  FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com

自从
  build 624

创建时间:
  2015-08-18 22:33:54 +0800

修改时间:
  2020-10-05 22:21 +0800

文本编码:
  UTF-8

模块名称:
  YStandardEx::Range

在文件 range.hpp 中定义.