YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ystdex::any_ops 命名空间参考

class  bidirectional_iterator_handler
 
class  forward_iterator_handler
 
class  holder
 抽象动态泛型持有者接口。 更多...
 
struct  holder_tag
 使用持有者标记。 更多...
 
class  input_iterator_handler
 
class  iterator_handler
 
class  pointer_holder
 指针类型动态泛型持有者。 更多...
 
class  value_holder
 值类型动态泛型持有者。 更多...
 
struct  wrap_handler
 

类型定义

using op_code = std::uint32_t
 
using any_storage = pod_storage< non_aggregate_pod >
 
using any_manager = void(*)(any_storage &, const any_storage &, op_code)
 

枚举

enum  base_op : op_code {
  no_op, get_type, get_ptr, clone,
  destroy, get_holder_type, get_holder_ptr, end_base_op
}
 
enum  iterator_op : op_code { check_undereferenceable = end_base_op, dereference, increase, end_iterator_op }
 
enum  input_iterator_op : op_code { equals = end_iterator_op, end_input_iterator_op, end_output_iterator_op = end_input_iterator_op, end_forward_iterator_op = end_input_iterator_op }
 
enum  bidirectional_iteartor_op : op_code { decrease = end_forward_iterator_op, end_bidirectional_iterator_op }
 
enum  random_access_iteartor_op : op_code { advance = end_forward_iterator_op, distance, less_compare, end_random_access_iteartor_op }
 

详细描述

自从
build 354

类型定义说明

using ystdex::any_ops::any_manager = typedef void(*)(any_storage&, const any_storage&, op_code)

在文件 any.h322 行定义.

自从
build 352

在文件 any.h321 行定义.

using ystdex::any_ops::op_code = typedef std::uint32_t
自从
build 354

在文件 any.h301 行定义.

枚举类型说明

自从
build 354
枚举值
no_op 
自从
build 355
get_type 
get_ptr 
clone 
destroy 
get_holder_type 
get_holder_ptr 
end_base_op 
自从
build 355

在文件 any.h304 行定义.

枚举值
decrease 
end_bidirectional_iterator_op 

在文件 any_iterator.hpp62 行定义.

枚举值
equals 
end_input_iterator_op 
end_output_iterator_op 
end_forward_iterator_op 

在文件 any_iterator.hpp53 行定义.

自从
build 355
枚举值
check_undereferenceable 
自从
build 400
dereference 
increase 
end_iterator_op 

在文件 any_iterator.hpp43 行定义.

枚举值
advance 
distance 
less_compare 
end_random_access_iteartor_op 

在文件 any_iterator.hpp69 行定义.