boostorg / nowide

Compare 1f6e960 ... +3 ... a906c3b


@@ -68,6 +68,7 @@
Loading
68 68
    ///
69 69
    /// \brief Same as std::basic_ifstream<char> but accepts UTF-8 strings under Windows
70 70
    ///
71 +
    /// Affected by #BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT and #BOOST_NOWIDE_USE_WCHAR_OVERLOADS
71 72
    template<typename CharType, typename Traits = std::char_traits<CharType>>
72 73
    class basic_ifstream : public detail::fstream_impl<CharType, Traits, detail::StreamTypeIn>
73 74
    {
@@ -118,7 +119,7 @@
Loading
118 119
    ///
119 120
    /// \brief Same as std::basic_ofstream<char> but accepts UTF-8 strings under Windows
120 121
    ///
121 -
122 +
    /// Affected by #BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT and #BOOST_NOWIDE_USE_WCHAR_OVERLOADS
122 123
    template<typename CharType, typename Traits = std::char_traits<CharType>>
123 124
    class basic_ofstream : public detail::fstream_impl<CharType, Traits, detail::StreamTypeOut>
124 125
    {
@@ -171,6 +172,7 @@
Loading
171 172
    ///
172 173
    /// \brief Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows
173 174
    ///
175 +
    /// Affected by #BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT and #BOOST_NOWIDE_USE_WCHAR_OVERLOADS
174 176
    template<typename CharType, typename Traits = std::char_traits<CharType>>
175 177
    class basic_fstream : public detail::fstream_impl<CharType, Traits, detail::StreamTypeInOut>
176 178
    {

@@ -43,7 +43,7 @@
Loading
43 43
    std::fclose(f);
44 44
}
45 45
46 -
#if BOOST_MSVC
46 +
#ifdef BOOST_MSVC
47 47
#include <crtdbg.h> // For _CrtSetReportMode
48 48
void noop_invalid_param_handler(const wchar_t*, const wchar_t*, const wchar_t*, unsigned, uintptr_t)
49 49
{} // LCOV_EXCL_LINE
@@ -54,7 +54,7 @@
Loading
54 54
{
55 55
    const std::string prefix = argv[0];
56 56
    const std::string filename = prefix + "\xd7\xa9-\xd0\xbc-\xce\xbd.txt";
57 -
#if BOOST_MSVC
57 +
#ifdef BOOST_MSVC
58 58
    // Prevent abort on freopen(NULL, ...)
59 59
    _set_invalid_parameter_handler(noop_invalid_param_handler);
60 60
#endif

@@ -38,18 +38,20 @@
Loading
38 38
    using std::filebuf;
39 39
#else // Windows
40 40
    ///
41 -
    /// \brief This forward declaration defines the basic_filebuf type.
41 +
    /// \brief This forward declaration defines the basic_filebuf type
42 +
    ///        which is used when #BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT is set, e.g. on Windows.
42 43
    ///
43 -
    /// it is implemented and specialized for CharType = char, it
44 +
    /// It is implemented and specialized for CharType = char, it
44 45
    /// implements std::filebuf over standard C I/O
45 46
    ///
46 47
    template<typename CharType, typename Traits = std::char_traits<CharType>>
47 48
    class basic_filebuf;
48 49
49 50
    ///
50 51
    /// \brief This is the implementation of std::filebuf
52 +
    ///        which is used when #BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT is set, e.g. on Windows.
51 53
    ///
52 -
    /// it is implemented and specialized for CharType = char, it
54 +
    /// It is implemented and specialized for CharType = char, it
53 55
    /// implements std::filebuf over standard C I/O
54 56
    ///
55 57
    template<>

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
include/boost/nowide 98.07%
src 98.07%
test 100.00%
Project Totals (33 files) 99.34%
Loading