Searched defs:data_factory (Results 1 – 1 of 1) sorted by relevance
32 struct data_factory<T, true> struct34 typedef T type;35 typedef std::unique_ptr<type> ptr_type;36 static ptr_type create(long) { return ptr_type(new T());} in create()39 struct data_factory<T, false> struct41 typedef T type;42 typedef std::unique_ptr<type> ptr_type;43 static ptr_type create(long, compute::context) { return ptr_type(new T());} in create()46 struct data_factory<void, true> struct48 typedef void type;[all …]