Lines 13-18
Link Here
|
13 |
|
13 |
|
14 |
#include <boost/program_options/detail/convert.hpp> |
14 |
#include <boost/program_options/detail/convert.hpp> |
15 |
#include <boost/program_options/detail/utf8_codecvt_facet.hpp> |
15 |
#include <boost/program_options/detail/utf8_codecvt_facet.hpp> |
|
|
16 |
#include <boost/test/test_tools.hpp> |
16 |
|
17 |
|
17 |
using namespace std; |
18 |
using namespace std; |
18 |
|
19 |
|
Lines 74-80
std::wstring from_8_bit_2(const std::str
Link Here
|
74 |
void test_convert(const std::string& input, |
75 |
void test_convert(const std::string& input, |
75 |
const std::string& expected_output) |
76 |
const std::string& expected_output) |
76 |
{ |
77 |
{ |
77 |
boost::program_options::detail::utf8_codecvt_facet<wchar_t, char> facet; |
78 |
boost::program_options::detail::utf8_codecvt_facet facet; |
78 |
|
79 |
|
79 |
std::wstring output; |
80 |
std::wstring output; |
80 |
{ |
81 |
{ |