diff -up boost_1_48_0/boost/lexical_cast.hpp\~ boost_1_48_0/boost/lexical_cast.hpp
old
|
new
|
namespace boost
|
1599 | 1599 | }; |
1600 | 1600 | |
1601 | 1601 | template<typename T> |
| 1602 | struct is_char |
| 1603 | { |
| 1604 | BOOST_STATIC_CONSTANT(bool, value = false ); |
| 1605 | }; |
| 1606 | |
| 1607 | template<> |
| 1608 | struct is_char<char> |
| 1609 | { |
| 1610 | BOOST_STATIC_CONSTANT(bool, value = true ); |
| 1611 | }; |
| 1612 | |
| 1613 | template<typename T> |
1602 | 1614 | struct is_char_or_wchar |
1603 | 1615 | { |
1604 | 1616 | private: |
… |
… |
namespace boost
|
1732 | 1744 | is_arithmetic<src >::value, |
1733 | 1745 | ::boost::type_traits::ice_and< |
1734 | 1746 | is_pointer<src >::value, |
1735 | | is_char_or_wchar<removed_ptr_t >::value, |
1736 | | ::boost::type_traits::ice_eq< |
1737 | | sizeof(char_type), |
1738 | | sizeof(removed_ptr_t) |
1739 | | >::value |
| 1747 | is_char<removed_ptr_t >::value |
1740 | 1748 | >::value |
1741 | 1749 | >::value |
1742 | 1750 | ); |