Searched defs:weighted_object (Results 1 – 2 of 2) sorted by relevance
12 template <typename W, typename T> struct weighted_object { struct13 weighted_object( const T &obj, const W &weight ) : obj( obj ), weight( weight ) {} in weighted_object() argument15 T obj;16 W weight;
12 template <typename W, typename T> struct weighted_object { struct13 weighted_object( const T &obj, const W &weight ) : obj( obj ), weight( weight ) {} in weighted_object() function15 T obj;16 W weight;