Ticket #1791: lexical_cast2.patch
File lexical_cast2.patch, 768 bytes (added by , 13 years ago) |
---|
-
boost/lexical_cast.hpp
1111 1111 typedef const T * type; 1112 1112 }; 1113 1113 1114 1115 #ifdef BOOST_MSVC 1116 # pragma warning( push ) 1117 # pragma warning( disable : 4702 ) //unreachable code, line 1149 1118 #endif 1119 1114 1120 template< typename Target 1115 1121 , typename Source 1116 1122 , bool Unlimited // string representation of Source is unlimited … … 1158 1164 #endif 1159 1165 return Target(); // normally never reached (throw_exception) 1160 1166 } 1167 1168 #ifdef BOOST_MSVC 1169 # pragma warning( pop ) 1170 #endif 1171 1161 1172 } 1162 1173 1163 1174 template<typename Target, typename Source>