Home
last modified time | relevance | path

Searched defs:raw_converter (Results 1 – 4 of 4) sorted by relevance

/external/sdv/vsomeip/third_party/boost/numeric/conversion/test/
Dudt_support_test.cpp78 struct raw_converter<MyUDT::MyFloat_to_double_Traits> struct
80 static double low_level_convert ( MyUDT::MyFloat const& s ) in low_level_convert()
85 struct raw_converter<MyUDT::MyFloat_to_int_Traits> struct
87 static int low_level_convert ( MyUDT::MyFloat const& s ) in low_level_convert()
92 struct raw_converter<MyUDT::MyFloat_to_MyInt_Traits> struct
94 static MyUDT::MyInt low_level_convert ( MyUDT::MyFloat const& s ) in low_level_convert()
99 struct raw_converter<MyUDT::MyInt_to_int_Traits> struct
101 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> struct
107 static MyUDT::MyFloat low_level_convert ( MyUDT::MyInt const& s ) in low_level_convert()
[all …]
Dudt_example_0.cpp167 template<> struct raw_converter<Float2IntTraits> struct
169 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> struct
176 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()
Dnumeric_cast_traits_test.cpp298 struct raw_converter< conversion_traits< T, Double > > struct
300 static T low_level_convert ( const Double& n ) in low_level_convert()
307 struct raw_converter< conversion_traits< Double, S > > struct
309 static Double low_level_convert ( const S& n ) in low_level_convert()
/external/sdv/vsomeip/third_party/boost/numeric/conversion/include/boost/numeric/conversion/
Dconverter_policies.hpp182 struct raw_converter struct
184 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()