equal
deleted
inserted
replaced
37 int main() |
37 int main() |
38 { |
38 { |
39 std_log(LOG_FILENAME_LINE,"[Test Case for pointer_to_other_test]"); |
39 std_log(LOG_FILENAME_LINE,"[Test Case for pointer_to_other_test]"); |
40 // shared_ptr |
40 // shared_ptr |
41 |
41 |
|
42 #ifdef __ARMCC__ |
|
43 #pragma diag_suppress 550 |
|
44 #endif |
42 assert_same_type< boost::pointer_to_other< boost::shared_ptr<X>, Y >::type, boost::shared_ptr<Y> >(); |
45 assert_same_type< boost::pointer_to_other< boost::shared_ptr<X>, Y >::type, boost::shared_ptr<Y> >(); |
43 assert_same_type< boost::pointer_to_other< boost::shared_ptr<X>, void >::type, boost::shared_ptr<void> >(); |
46 assert_same_type< boost::pointer_to_other< boost::shared_ptr<X>, void >::type, boost::shared_ptr<void> >(); |
44 assert_same_type< boost::pointer_to_other< boost::shared_ptr<void>, Y >::type, boost::shared_ptr<Y> >(); |
47 assert_same_type< boost::pointer_to_other< boost::shared_ptr<void>, Y >::type, boost::shared_ptr<Y> >(); |
45 |
48 |
46 // shared_array |
49 // shared_array |
77 |
80 |
78 assert_same_type< boost::pointer_to_other< X *, Y >::type, Y * >(); |
81 assert_same_type< boost::pointer_to_other< X *, Y >::type, Y * >(); |
79 assert_same_type< boost::pointer_to_other< X *, void >::type, void * >(); |
82 assert_same_type< boost::pointer_to_other< X *, void >::type, void * >(); |
80 assert_same_type< boost::pointer_to_other< void *, Y >::type, Y * >(); |
83 assert_same_type< boost::pointer_to_other< void *, Y >::type, Y * >(); |
81 |
84 |
|
85 |
82 #ifdef __SYMBIAN32__ |
86 #ifdef __SYMBIAN32__ |
83 |
87 |
84 std_log(LOG_FILENAME_LINE,"Result : Passed"); |
88 std_log(LOG_FILENAME_LINE,"Result : Passed"); |
85 |
89 |
86 std_log(LOG_FILENAME_LINE,"[End Test Case ]"); |
90 std_log(LOG_FILENAME_LINE,"[End Test Case ]"); |