Opened 8 years ago
Last modified 7 years ago
#10545 closed Bugs
Bug causing linking problems — at Version 2
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: | ramey@… |
Description (last modified by )
The implementations of is_whitespace functions in basic_text_iprimitive.ipp must be inline.
namespace detail {
template<> inline bool is_whitespace(char t){
return 0 != std::isspace(t);
}
#ifndef BOOST_NO_CWCHAR template<> inline bool is_whitespace(wchar_t t){
return 0 != std::iswspace(t);
} #endif
} detail
Does the code in your package not show this?
Robert Ramey
Change History (2)
comment:1 by , 8 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | duplicate |
Status: | closed → reopened |
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
Note:
See TracTickets
for help on using tickets.
duplicate of https://svn.boost.org/trac/boost/ticket/10535