YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
函数和可调用对象。 更多...
类 | |
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]) |
函数和可调用对象。
实用设施。
在文件 utility.hpp 中定义.