Changes between Initial Version and Version 2 of Ticket #10545


Ignore:
Timestamp:
Sep 26, 2014, 5:29:42 PM (8 years ago)
Author:
Robert Ramey
Comment:

my copy of the current code is exactly the code you have above.

namespace detail {
    template<class CharType>
    bool is_whitespace(CharType c);

    template<>
    bool is_whitespace(char t){
        return 0 != std::isspace(t);
    }

    #ifndef BOOST_NO_CWCHAR
    template<>
    bool is_whitespace(wchar_t t){
        return 0 != std::iswspace(t);
    }
    #endif
} // detail

Legend:

Unmodified
Added
Removed
Modified