YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
utility.hpp 文件参考

函数和可调用对象。 更多...

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

浏览源代码.

class  ystdex::noncopyable
 
class  ystdex::nonmovable
 
class  ystdex::nifty_counter< _type, _tCount >
 使用引用计数的静态初始化管理器。 更多...
 
class  ystdex::call_once_init< _type, _tOnceFlag >
 使用 call_once 的静态初始化管理器。 更多...
 

命名空间

namespace  ystdex
 

函数

template<typename _type >
decay< _type >::type ystdex::decay_copy (_type &&arg)
 退化复制。
 
template<typename _type >
qualified_decay< _type >::type ystdex::decay_forward (_type &&arg)
 退化传递。
 
template<typename _fCallable , typename... _tParams>
void ystdex::call_once (bool &b, _fCallable &&f, _tParams &&...args)
 按标识调用函数,保证调用一次。
 
template<typename _type , typename , typename... >
_type & ystdex::parameterize_static_object ()
 类型参数化静态对象。
 
template<typename _type , size_t... >
_type & ystdex::parameterize_static_object ()
 非类型参数化静态对象。
 
template<typename _tKey , typename... _tKeys, typename _fInit , typename... _tParams>
auto ystdex::get_init (_fInit &&f, _tParams &&...args) -> decltype(f(std::forward< decltype(args)>(args)...))&
 取类型标识和初始化调用指定的对象。
 
template<size_t... _vKeys, typename _fInit , typename... _tParams>
auto ystdex::get_init (_fInit &&f, _tParams &&...args) -> decltype(f(std::forward< decltype(args)>(args)...))&
 取非类型标识和初始化调用指定的对象。
 
template<typename _type , size_t _vN>
size_t ystdex::arrlen (_type(&)[_vN])
 计算指定数组类型对象的长度。
 
template<typename _type , size_t _vN>
size_t ystdex::arrlen (_type(&&)[_vN])
 

详细描述

函数和可调用对象。

实用设施。

版本
r478
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 333
创建时间:
2010-08-22 13:04:29 +0800
修改时间:
2013-03-02 06:28 +0800
文本编码:
UTF-8
模块名称:
YStandardEx::Functional
版本
r1602
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 189
创建时间:
2010-05-23 06:10:59 +0800
修改时间:
2013-02-23 08:37 +0800
文本编码:
UTF-8
模块名称:
YStandardEx::Utilities

在文件 utility.hpp 中定义.