]>
Commit | Line | Data |
---|---|---|
647f39b2 AM |
1 | Index: boost/date_time/date_parsing.hpp |
2 | =================================================================== | |
3 | --- boost/date_time/date_parsing.hpp (revision 85073) | |
4 | +++ boost/date_time/date_parsing.hpp (working copy) | |
5 | @@ -113,7 +113,6 @@ | |
6 | spec_str = "mdy"; | |
7 | } | |
8 | ||
9 | - typedef typename date_type::year_type year_type; | |
10 | typedef typename date_type::month_type month_type; | |
11 | unsigned pos = 0; | |
12 | unsigned short year(0), month(0), day(0); | |
13 | @@ -160,7 +159,6 @@ | |
14 | parse_undelimited_date(const std::string& s) { | |
15 | int offsets[] = {4,2,2}; | |
16 | int pos = 0; | |
17 | - typedef typename date_type::year_type year_type; | |
18 | //typename date_type::ymd_type ymd((year_type::min)(),1,1); | |
19 | unsigned short y = 0, m = 0, d = 0; | |
20 | ||
21 | Index: boost/date_time/local_time/local_time_io.hpp | |
22 | =================================================================== | |
23 | --- boost/date_time/local_time/local_time_io.hpp (revision 85073) | |
24 | +++ boost/date_time/local_time/local_time_io.hpp (working copy) | |
25 | @@ -36,7 +36,6 @@ | |
26 | boost::io::ios_flags_saver iflags(os); | |
27 | typedef local_date_time time_type;//::utc_time_type typename | |
28 | typedef date_time::time_facet<time_type, CharT> custom_time_facet; | |
29 | - typedef std::time_put<CharT> std_time_facet; | |
30 | std::ostreambuf_iterator<CharT> oitr(os); | |
31 | ||
32 | if(std::has_facet<custom_time_facet>(os.getloc())) { | |
33 | @@ -123,7 +122,6 @@ | |
34 | const boost::local_time::local_time_period& p) { | |
35 | boost::io::ios_flags_saver iflags(os); | |
36 | typedef boost::date_time::time_facet<local_date_time, CharT> custom_facet; | |
37 | - typedef std::time_put<CharT> std_time_facet; | |
38 | std::ostreambuf_iterator<CharT> oitr(os); | |
39 | if (std::has_facet<custom_facet>(os.getloc())) { | |
40 | std::use_facet<custom_facet>(os.getloc()).put(oitr, os, os.fill(), p); | |
41 | Index: boost/date_time/posix_time/posix_time_io.hpp | |
42 | =================================================================== | |
43 | --- boost/date_time/posix_time/posix_time_io.hpp (revision 85073) | |
44 | +++ boost/date_time/posix_time/posix_time_io.hpp (working copy) | |
45 | @@ -47,7 +47,6 @@ | |
46 | const ptime& p) { | |
47 | boost::io::ios_flags_saver iflags(os); | |
48 | typedef boost::date_time::time_facet<ptime, CharT> custom_ptime_facet; | |
49 | - typedef std::time_put<CharT> std_ptime_facet; | |
50 | std::ostreambuf_iterator<CharT> oitr(os); | |
51 | if (std::has_facet<custom_ptime_facet>(os.getloc())) | |
52 | std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), p); | |
53 | @@ -114,7 +113,6 @@ | |
54 | const boost::posix_time::time_period& p) { | |
55 | boost::io::ios_flags_saver iflags(os); | |
56 | typedef boost::date_time::time_facet<ptime, CharT> custom_ptime_facet; | |
57 | - typedef std::time_put<CharT> std_time_facet; | |
58 | std::ostreambuf_iterator<CharT> oitr(os); | |
59 | if (std::has_facet<custom_ptime_facet>(os.getloc())) { | |
60 | std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), p); | |
61 | @@ -180,7 +178,6 @@ | |
62 | { | |
63 | boost::io::ios_flags_saver iflags(os); | |
64 | typedef boost::date_time::time_facet<ptime, CharT> custom_ptime_facet; | |
65 | - typedef std::time_put<CharT> std_ptime_facet; | |
66 | std::ostreambuf_iterator<CharT> oitr(os); | |
67 | if (std::has_facet<custom_ptime_facet>(os.getloc())) | |
68 | std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), td); | |
69 | Index: boost/date_time/string_convert.hpp | |
70 | =================================================================== | |
71 | --- boost/date_time/string_convert.hpp (revision 85073) | |
72 | +++ boost/date_time/string_convert.hpp (working copy) | |
73 | @@ -21,7 +21,6 @@ | |
74 | inline | |
75 | std::basic_string<OutputT> convert_string_type(const std::basic_string<InputT>& inp_str) | |
76 | { | |
77 | - typedef std::basic_string<InputT> input_type; | |
78 | typedef std::basic_string<OutputT> output_type; | |
79 | output_type result; | |
80 | result.insert(result.begin(), inp_str.begin(), inp_str.end()); | |
81 | Index: boost/date_time/strings_from_facet.hpp | |
82 | =================================================================== | |
83 | --- boost/date_time/strings_from_facet.hpp (revision 85073) | |
84 | +++ boost/date_time/strings_from_facet.hpp (working copy) | |
85 | @@ -35,7 +35,6 @@ | |
86 | { | |
87 | typedef std::basic_string<charT> string_type; | |
88 | typedef std::vector<string_type> collection_type; | |
89 | - typedef std::basic_ostringstream<charT> ostream_type; | |
90 | typedef std::ostreambuf_iterator<charT> ostream_iter_type; | |
91 | typedef std::basic_ostringstream<charT> stringstream_type; | |
92 | typedef std::time_put<charT> time_put_facet_type; | |
93 | @@ -86,7 +85,6 @@ | |
94 | { | |
95 | typedef std::basic_string<charT> string_type; | |
96 | typedef std::vector<string_type> collection_type; | |
97 | - typedef std::basic_ostringstream<charT> ostream_type; | |
98 | typedef std::ostreambuf_iterator<charT> ostream_iter_type; | |
99 | typedef std::basic_ostringstream<charT> stringstream_type; | |
100 | typedef std::time_put<charT> time_put_facet_type; |