From c5a600a26f8966a291ea185ddaa52b56fc942656 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 8 May 2017 00:29:32 +0000 Subject: Fix DLL import for __time_get_c_storage member functions. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302390 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/locale | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/locale') diff --git a/include/locale b/include/locale index f0e1c3b82..ad1c1f008 100644 --- a/include/locale +++ b/include/locale @@ -1689,6 +1689,22 @@ protected: ~__time_get_c_storage() {} }; +template <> _LIBCPP_FUNC_VIS const string* __time_get_c_storage::__weeks() const; +template <> _LIBCPP_FUNC_VIS const string* __time_get_c_storage::__months() const; +template <> _LIBCPP_FUNC_VIS const string* __time_get_c_storage::__am_pm() const; +template <> _LIBCPP_FUNC_VIS const string& __time_get_c_storage::__c() const; +template <> _LIBCPP_FUNC_VIS const string& __time_get_c_storage::__r() const; +template <> _LIBCPP_FUNC_VIS const string& __time_get_c_storage::__x() const; +template <> _LIBCPP_FUNC_VIS const string& __time_get_c_storage::__X() const; + +template <> _LIBCPP_FUNC_VIS const wstring* __time_get_c_storage::__weeks() const; +template <> _LIBCPP_FUNC_VIS const wstring* __time_get_c_storage::__months() const; +template <> _LIBCPP_FUNC_VIS const wstring* __time_get_c_storage::__am_pm() const; +template <> _LIBCPP_FUNC_VIS const wstring& __time_get_c_storage::__c() const; +template <> _LIBCPP_FUNC_VIS const wstring& __time_get_c_storage::__r() const; +template <> _LIBCPP_FUNC_VIS const wstring& __time_get_c_storage::__x() const; +template <> _LIBCPP_FUNC_VIS const wstring& __time_get_c_storage::__X() const; + template > class _LIBCPP_TEMPLATE_VIS time_get : public locale::facet, -- cgit v1.2.3