Searched defs:raw_converter (Results 1 – 4 of 4) sorted by relevance
78 struct raw_converter<MyUDT::MyFloat_to_double_Traits> struct80 static double low_level_convert ( MyUDT::MyFloat const& s ) in low_level_convert()85 struct raw_converter<MyUDT::MyFloat_to_int_Traits> struct87 static int low_level_convert ( MyUDT::MyFloat const& s ) in low_level_convert()92 struct raw_converter<MyUDT::MyFloat_to_MyInt_Traits> struct94 static MyUDT::MyInt low_level_convert ( MyUDT::MyFloat const& s ) in low_level_convert()99 struct raw_converter<MyUDT::MyInt_to_int_Traits> struct101 static int low_level_convert ( MyUDT::MyInt const& s ) { return s.to_builtin() ; } in low_level_convert()105 struct raw_converter<MyUDT::MyInt_to_MyFloat_Traits> struct107 static MyUDT::MyFloat low_level_convert ( MyUDT::MyInt const& s ) in low_level_convert()[all …]
167 template<> struct raw_converter<Float2IntTraits> struct169 typedef Float2IntTraits::result_type result_type ;170 typedef Float2IntTraits::argument_type argument_type ;172 static result_type low_level_convert ( argument_type s ) { return Int((int)s.mV); } in low_level_convert()174 template<> struct raw_converter<Int2FloatTraits> struct176 typedef Int2FloatTraits::result_type result_type ;177 typedef Int2FloatTraits::argument_type argument_type ;179 static result_type low_level_convert ( argument_type s ) { return Float(s.mV); } in low_level_convert()
298 struct raw_converter< conversion_traits< T, Double > > struct300 static T low_level_convert ( const Double& n ) in low_level_convert()307 struct raw_converter< conversion_traits< Double, S > > struct309 static Double low_level_convert ( const S& n ) in low_level_convert()
182 struct raw_converter struct184 typedef typename Traits::result_type result_type ;185 typedef typename Traits::argument_type argument_type ;187 static result_type low_level_convert ( argument_type s ) { return static_cast<result_type>(s) ; } in low_level_convert()