YSTest: Container.h 文件参考

YSTest PreAlpha_b900_20201012 The YSLib Test Project

类 | 命名空间 | 类型定义 | 函数
Container.h 文件参考
YFramework Library » YCommonLib

容器、拟容器和适配器。 更多...

`#include "YModules.h"`
`#include <YCLib/YCommon.h>`
`#include <ystdex/memory_resource.h>`
`#include <ystdex/functor.hpp>`
`#include <ystdex/tstring_view.hpp>`
`#include <ystdex/string.hpp>`
`#include <ystdex/array.hpp>`
`#include <deque>`
`#include <forward_list>`
`#include <ystdex/list.hpp>`
`#include <vector>`
`#include <ystdex/map.hpp>`
`#include <set>`
`#include <unordered_set>`
`#include <unordered_map>`
`#include <queue>`
`#include <stack>`
`#include <iosfwd>`
`#include <ystdex/hash.hpp>`
Container.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

## 类

struct | std::hash< ystdex::basic_string< _tChar, _tTraits, ystdex::pmr::polymorphic_allocator< _tChar > > >
| 使用多态分配器的 ystdex::basic_string 散列支持。 更多...

## 命名空间

| platform
| 默认平台命名空间。
| platform::basic_utilities
| platform::containers
| platform::strings
| platform::ios
| platform_ex
| 平台扩展命名空间。
| std

## 类型定义

template<typename _type , class _tAlloc = pmr::polymorphic_allocator<_type>>
using | platform::containers::deque = std::deque< _type, _tAlloc >
template<typename _type , class _tAlloc = pmr::polymorphic_allocator<_type>>
using | platform::containers::forward_list = std::forward_list< _type, _tAlloc >
template<typename _type , class _tAlloc = pmr::polymorphic_allocator<_type>>
using | platform::containers::list = ystdex::list< _type, _tAlloc >
template<typename _type , class _tAlloc = pmr::polymorphic_allocator<_type>>
using | platform::containers::vector = std::vector< _type, _tAlloc >
template<typename _tKey , typename _tMapped , typename _fComp = ystdex::less<_tKey>, class _tAlloc = pmr::polymorphic_allocator<std::pair<const _tKey, _tMapped>>>
using | platform::containers::map = ystdex::map< _tKey, _tMapped, _fComp, _tAlloc >
template<typename _tKey , typename _tMapped , typename _fComp = ystdex::less<_tKey>, class _tAlloc = pmr::polymorphic_allocator<std::pair<const _tKey, _tMapped>>>
using | platform::containers::multimap = std::multimap< _tKey, _tMapped, _fComp, _tAlloc >
template<typename _tKey , typename _fComp = ystdex::less<_tKey>, class _tAlloc = pmr::polymorphic_allocator<_tKey>>
using | platform::containers::multiset = std::multiset< _tKey, _fComp, _tAlloc >
template<typename _tKey , typename _fComp = ystdex::less<_tKey>, class _tAlloc = pmr::polymorphic_allocator<_tKey>>
using | platform::containers::set = std::set< _tKey, _fComp, _tAlloc >
template<typename _tKey , typename _tMapped , typename _fHash = std::hash<_tKey>, typename _fEqual = ystdex::equal_to<_tKey>, class _tAlloc = pmr::polymorphic_allocator<std::pair<const _tKey, _tMapped>>>
using | platform::containers::unordered_map = std::unordered_map< _tKey, _tMapped, _fHash, _fEqual, _tAlloc >
template<typename _tKey , typename _tMapped , typename _fHash = std::hash<_tKey>, typename _fEqual = ystdex::equal_to<_tKey>, class _tAlloc = pmr::polymorphic_allocator<std::pair<const _tKey, _tMapped>>>
using | platform::containers::unordered_multimap = std::unordered_multimap< _tKey, _tMapped, _fHash, _fEqual, _tAlloc >
template<typename _tKey , typename _fHash = std::hash<_tKey>, typename _fEqual = ystdex::equal_to<_tKey>, class _tAlloc = pmr::polymorphic_allocator<_tKey>>
using | platform::containers::unordered_multiset = std::unordered_multiset< _tKey, _fHash, _fEqual, _tAlloc >
template<typename _tKey , typename _fHash = std::hash<_tKey>, typename _fEqual = ystdex::equal_to<_tKey>, class _tAlloc = pmr::polymorphic_allocator<_tKey>>
using | platform::containers::unordered_set = std::unordered_set< _tKey, _fHash, _fEqual, _tAlloc >
template<typename _type , class _tSeqCon = deque<_type>>
using | platform::containers::stack = std::stack< _type, _tSeqCon >
template<typename _tKey , class _tSeqCon = vector<_tKey>, class _fComp = ystdex::less<_tKey>>
using | platform::containers::priority_queue = std::priority_queue< _tKey, _tSeqCon, _fComp >
template<typename _type , class _tSeqCon = deque<_type>>
using | platform::containers::queue = std::queue< _type, _tSeqCon >
template<typename _tChar , typename _tTraits = std::char_traits<_tChar>, class _tAlloc = pmr::polymorphic_allocator<_tChar>>
using | platform::strings::basic_string = ystdex::basic_string< _tChar, _tTraits, _tAlloc >
| 满足 ISO C++03 std::basic_string 但不保证满足 ISO C++11 的实现。 更多...
using | platform::strings::string = basic_string< char >
using | platform::strings::u16string = basic_string< char16_t >
using | platform::strings::u32string = basic_string< char32_t >
using | platform::strings::wstring = basic_string< wchar_t >
template<typename _tChar , class _tTraits = typename basic_string<_tChar>::traits_type, class _tAlloc = typename basic_string<_tChar>::allocator_type>
using | platform::ios::basic_stringbuf = std::basic_stringbuf< _tChar, _tTraits, _tAlloc >
template<class _tString >
using | platform::ios::stringbuf_for = basic_stringbuf< typename _tString::value_type, typename _tString::traits_type, typename _tString::allocator_type >
using | platform::ios::stringbuf = stringbuf_for< string >
using | platform::ios::wstringbuf = stringbuf_for< wstring >
template<typename _tChar , class _tTraits = typename basic_string<_tChar>::traits_type, class _tAlloc = typename basic_string<_tChar>::allocator_type>
using | platform::ios::basic_istringstream = std::basic_istringstream< _tChar, _tTraits, _tAlloc >
template<class _tString >
using | platform::ios::istringstream_for = basic_istringstream< typename _tString::value_type, typename _tString::traits_type, typename _tString::allocator_type >
using | platform::ios::istringstream = istringstream_for< string >
using | platform::ios::wistringstream = istringstream_for< wstring >
template<typename _tChar , class _tTraits = typename basic_string<_tChar>::traits_type, class _tAlloc = typename basic_string<_tChar>::allocator_type>
using | platform::ios::basic_ostringstream = std::basic_ostringstream< _tChar, _tTraits, _tAlloc >
template<class _tString >
using | platform::ios::ostringstream_for = basic_ostringstream< typename _tString::value_type, typename _tString::traits_type, typename _tString::allocator_type >
using | platform::ios::ostringstream = ostringstream_for< string >
using | platform::ios::wostringstream = ostringstream_for< wstring >
template<typename _tChar , class _tTraits = typename basic_string<_tChar>::traits_type, class _tAlloc = typename basic_string<_tChar>::allocator_type>
using | platform::ios::basic_stringstream = std::basic_stringstream< _tChar, _tTraits, _tAlloc >
template<class _tString >
using | platform::ios::stringstream_for = basic_stringstream< typename _tString::value_type, typename _tString::traits_type, typename _tString::allocator_type >
using | platform::ios::stringstream = stringstream_for< string >
using | platform::ios::wstringstream = stringstream_for< wstring >

## 函数

template<typename _tChar , class _tString = basic_string<_tChar>>
_tString | platform::strings::to_pmr_string (basic_string_view< _tChar > sv)
template<typename _tChar , class _tString = basic_string<_tChar>, class _tTraits , class _tAlloc , typename = yimpl(ystdex::enable_if_inconvertible_t)< const std::basic_string<_tChar, _tTraits, _tAlloc>&, _tString>>
_tString | platform::strings::to_pmr_string (const std::basic_string< _tChar, _tTraits, _tAlloc > &str)
template<class _tString = string, class _tParam = _tString, yimpl(typename=ystdex::enable_if_convertible_t< _tParam, _tString >) >
_tString | platform::strings::to_pmr_string (_tParam &&str)
template<typename _tChar , class _tString = std::basic_string<_tChar>>
_tString | platform::strings::to_std_string (basic_string_view< _tChar > sv)
template<typename _tChar , class _tString = std::basic_string<_tChar>, class _tTraits , class _tAlloc , typename = yimpl(ystdex::enable_if_inconvertible_t)< const basic_string<_tChar, _tTraits, _tAlloc>&, _tString>>
_tString | platform::strings::to_std_string (const basic_string< _tChar, _tTraits, _tAlloc > &str)
template<class _tString = std::string, class _tParam = _tString, yimpl(typename=ystdex::enable_if_convertible_t< _tParam, _tString >) >
_tString | platform::strings::to_std_string (_tParam &&str)

## 详细描述

容器、拟容器和适配器。

版本
  r1076

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

自从
  build 593

创建时间:
  2010-10-09 09:25:26 +0800

修改时间:
  2020-07-24 12:02 +0800

文本编码:
  UTF-8

模块名称:
  YCLib::Container

在文件 Container.h 中定义.