|
| template<typename... _tParams> |
| size_t | ystdex::sizeof_params (_tParams &&...) |
| | 统计函数参数列表中的参数个数。
|
| |
| template<typename _fCallable , typename... _tParams> |
| void | ystdex::unseq_apply (_fCallable &&f, _tParams &&...args) |
| | 无序调用。
|
| |
| template<bool _bIsPositive, typename _tScalar > |
| _tScalar & | ystdex::xcrease (_tScalar &_x) |
| | 编译期选择自增/自减运算。
|
| |
| template<bool _bIsPositive, typename _tScalar1 , typename _tScalar2 > |
| _tScalar1 & | ystdex::delta_assign (_tScalar1 &_x, _tScalar2 &_y) |
| | 编译期选择加法/减法复合赋值运算。
|
| |
|
| template<typename _fCallable > |
| void | ystdex::seq_apply (_fCallable &&) |
| | 顺序递归调用。
|
| |
| template<typename _fCallable , typename _type , typename... _tParams> |
| void | ystdex::seq_apply (_fCallable &&f, _type &&arg, _tParams &&...args) |
| |
|
| template<typename _type > |
| _type & | ystdex::unref (_type &&x) ynoexcept |
| | 解除引用包装。
|
| |
| template<typename _type > |
| _type & | ystdex::unref (const std::reference_wrapper< _type > &x) ynoexcept |
| |