summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__locale
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-05-30 21:39:41 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-05-30 21:39:41 +0000
commit0c17e32edda76b1745f2c2713f61fdca00ae4e07 (patch)
tree8e84289bfa528b3b3dc69c04cd52c378375ebb95 /libcxx/include/__locale
parent71eac6e114c217b1596ad1366ca20e3cdec21c77 (diff)
downloadbcm5719-llvm-0c17e32edda76b1745f2c2713f61fdca00ae4e07.tar.gz
bcm5719-llvm-0c17e32edda76b1745f2c2713f61fdca00ae4e07.zip
[locale.stdcvt]
llvm-svn: 105174
Diffstat (limited to 'libcxx/include/__locale')
-rw-r--r--libcxx/include/__locale86
1 files changed, 0 insertions, 86 deletions
diff --git a/libcxx/include/__locale b/libcxx/include/__locale
index 395cb26821e..c2146d9b934 100644
--- a/libcxx/include/__locale
+++ b/libcxx/include/__locale
@@ -1047,92 +1047,6 @@ protected:
virtual int do_max_length() const throw();
};
-// template <> class codecvt<char32_t, char, mbstate_t>
-
-template <>
-class codecvt<char32_t, char16_t, mbstate_t>
- : public locale::facet,
- public codecvt_base
-{
-public:
- typedef char32_t intern_type;
- typedef char16_t extern_type;
- typedef mbstate_t state_type;
-
- _LIBCPP_ALWAYS_INLINE
- explicit codecvt(size_t __refs = 0)
- : locale::facet(__refs) {}
-
- _LIBCPP_ALWAYS_INLINE
- result out(state_type& __st,
- const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
- extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
- {
- return do_out(__st, __frm, __frm_end, __frm_nxt, __to, __to_end, __to_nxt);
- }
-
- _LIBCPP_ALWAYS_INLINE
- result unshift(state_type& __st,
- extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
- {
- return do_unshift(__st, __to, __to_end, __to_nxt);
- }
-
- _LIBCPP_ALWAYS_INLINE
- result in(state_type& __st,
- const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
- intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
- {
- return do_in(__st, __frm, __frm_end, __frm_nxt, __to, __to_end, __to_nxt);
- }
-
- _LIBCPP_ALWAYS_INLINE
- int encoding() const throw()
- {
- return do_encoding();
- }
-
- _LIBCPP_ALWAYS_INLINE
- bool always_noconv() const throw()
- {
- return do_always_noconv();
- }
-
- _LIBCPP_ALWAYS_INLINE
- int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
- {
- return do_length(__st, __frm, __end, __mx);
- }
-
- _LIBCPP_ALWAYS_INLINE
- int max_length() const throw()
- {
- return do_max_length();
- }
-
- static locale::id id;
-
-protected:
- _LIBCPP_ALWAYS_INLINE
- explicit codecvt(const char*, size_t __refs = 0)
- : locale::facet(__refs) {}
-
- ~codecvt();
-
- virtual result do_out(state_type& __st,
- const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
- extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
- virtual result do_in(state_type& __st,
- const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
- intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
- virtual result do_unshift(state_type& __st,
- extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
- virtual int do_encoding() const throw();
- virtual bool do_always_noconv() const throw();
- virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
- virtual int do_max_length() const throw();
-};
-
// template <class _InternT, class _ExternT, class _StateT> class codecvt_byname
template <class _InternT, class _ExternT, class _StateT>
OpenPOWER on IntegriCloud