Ticket #839: lexical_cast.hpp.patch

File lexical_cast.hpp.patch, 937 bytes (added by ctsa, 15 years ago)

a local shadow patch for lexical_cast.hpp

Line 
1Index: lexical_cast.hpp
2===================================================================
3RCS file: /cvsroot/boost/boost/boost/lexical_cast.hpp,v
4retrieving revision 1.36
5diff -c -r1.36 lexical_cast.hpp
6*** lexical_cast.hpp 8 Jun 2007 19:59:40 -0000 1.36
7--- lexical_cast.hpp 12 Jun 2007 22:04:03 -0000
8***************
9*** 52,60 ****
10 {
11 }
12 bad_lexical_cast(
13! const std::type_info &source_type,
14! const std::type_info &target_type) :
15! source(&source_type), target(&target_type)
16 {
17 }
18 const std::type_info &source_type() const
19--- 52,60 ----
20 {
21 }
22 bad_lexical_cast(
23! const std::type_info &source_type_arg,
24! const std::type_info &target_type_arg) :
25! source(&source_type_arg), target(&target_type_arg)
26 {
27 }
28 const std::type_info &source_type() const