arabica/Utils/impl/codecvt_specialisations.h

51 lines
1.6 KiB
C
Raw Normal View History

#ifndef ARABICA_IMPL_CODECVT_SPECIALISATIONS_H
#define ARABICA_IMPL_CODECVT_SPECIALISATIONS_H
#include <locale>
namespace std
{
template<>
2003-09-13 01:15:14 +02:00
class codecvt<char, wchar_t, std::mbstate_t>
{
protected:
2005-08-07 22:16:02 +02:00
virtual ~codecvt();
2003-09-13 01:15:14 +02:00
virtual codecvt_base::result do_out(mbstate_t&,
const char* from,
const char* from_end,
const char*& from_next,
wchar_t* to,
wchar_t* to_limit,
wchar_t*& to_next) const;
virtual codecvt_base::result do_in(mbstate_t&,
const wchar_t* from,
const wchar_t* from_end,
const wchar_t*& from_next,
char* to,
char* to_limit,
char*& to_next) const;
virtual codecvt_base::result do_unshift(mbstate_t&,
wchar_t* to,
wchar_t* to_limit,
wchar_t*& to_next) const;
virtual int do_encoding() const throw();
virtual bool do_always_noconv() const throw();
virtual int do_length(const mbstate_t&,
const wchar_t* from,
const wchar_t* end,
2003-09-13 01:15:14 +02:00
size_t max) const;
virtual int do_max_length() const throw();
}; // class codecvt<char, wchar_t, std::mbstate_t> :
2003-09-13 01:15:14 +02:00
} // namespace std
#endif