|
Boost Users : |
Subject: [Boost-users] General C++: Class Method Signatures Miss-Match
From: Etienne Philip Pretorius (icewolfhunter_at_[hidden])
Date: 2009-05-01 10:22:23
Hello list,
I know this is not boost related, but I will appreciate it if anyone
could shed some light on what is happening here?
Compiler error:
xml.cpp: In member function xml::document&
xml::document::parse(std::vector<unsigned char, std::allocator<unsigned
char> >&):
xml.cpp:25: error: no matching function for call to
xml::document::characters(std::basic_string<unsigned int,
std::char_traits<unsigned int>, std::allocator<unsigned int> >)
xml.hpp:24: note: candidates are: virtual void
xml::document::characters(unicode::string)
unicode::string definition starts:
namespace unicode {
typedef std::size_t code_point;
class string : public std::basic_string<code_point> {
Is "std::basic_string<unsigned int, std::char_traits<unsigned int>,
std::allocator<unsigned int> >" not the same as "unicode::string"? If
not why is it not?
Etienne
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net