stdcpp/src/libstdcppwsd.h
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
   464 	}
   464 	}
   465 
   465 
   466 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   466 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   467 messages<wchar_t>::GetFacetLocaleId()
   467 messages<wchar_t>::GetFacetLocaleId()
   468 	{
   468 	{
   469 		return get_libcpp_wsdptr().messages_wchar_id;
   469         return get_libcpp_wsdptr().messages_wchar_id;
   470 	}
   470     }
   471 
   471 
   472 template <class _CharT, class _InputIter>
   472 template <class _CharT, class _InputIter>
   473 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   473 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   474 num_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >* )
   474 num_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >* )
   475     {
   475     {
   476    	 	return get_libcpp_wsdptr().num_get_wchar_istreambuf_iterator_id;
   476         return get_libcpp_wsdptr().num_get_wchar_istreambuf_iterator_id;
   477     }
   477     }
   478 
   478 
   479 template <class _CharT, class _InputIter>
   479 template <class _CharT, class _InputIter>
   480 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   480 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   481 num_get<_CharT, _InputIter>::GetFacetLocaleId(const wchar_t**)
   481 num_get<_CharT, _InputIter>::GetFacetLocaleId(const wchar_t**)
   482     {
   482     {
   483     	return get_libcpp_wsdptr().num_get_wchar_wchar_const_id;
   483         return get_libcpp_wsdptr().num_get_wchar_wchar_const_id;
   484     }
   484     }
   485 
   485 
   486 template <class _CharT, class _OutputIter>
   486 template <class _CharT, class _OutputIter>
   487 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   487  _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   488 num_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> > *)
   488 num_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> > *)
   489 	{
   489     {
   490 		return get_libcpp_wsdptr().num_put_wchar_ostreambuf_iterator_id;
   490         return get_libcpp_wsdptr().num_put_wchar_ostreambuf_iterator_id;
   491 	}
   491     }
   492 
   492 
   493 template <class _CharT, class _OutputIter>
   493 template <class _CharT, class _OutputIter>
   494 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   494 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   495 num_put<_CharT, _OutputIter>::GetFacetLocaleId(wchar_t**)
   495 num_put<_CharT, _OutputIter>::GetFacetLocaleId(wchar_t**)
   496 	{
   496     {
   497 		return get_libcpp_wsdptr().num_put_wchar_wchar_id;
   497         return get_libcpp_wsdptr().num_put_wchar_wchar_id;
   498 	}
   498     }
   499 
   499 
   500 template <class _CharT, class _InputIter>
   500 template <class _CharT, class _InputIter>
   501 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   501 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   502 time_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   502 time_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   503     {
   503     {
   504 		return get_libcpp_wsdptr().time_get_wchar_istreambuf_iterator_id;
   504         return get_libcpp_wsdptr().time_get_wchar_istreambuf_iterator_id;
   505     }
   505     }
   506 
   506 
   507 template <class _CharT, class _InputIter>
   507 template <class _CharT, class _InputIter>
   508 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   508 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   509 time_get<_CharT, _InputIter>::GetFacetLocaleId(const wchar_t**)
   509 time_get<_CharT, _InputIter>::GetFacetLocaleId(const wchar_t**)
   510     {
   510     {
   511 		return get_libcpp_wsdptr().time_get_wchar_wchar_const_id;
   511         return get_libcpp_wsdptr().time_get_wchar_wchar_const_id;
   512     }
   512     }
   513 
   513 
   514 template <class _CharT, class _OutputIter>
   514 template <class _CharT, class _OutputIter>
   515 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   515 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   516 time_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   516 time_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   517     {
   517     {
   518 		return get_libcpp_wsdptr().time_put_wchar_ostreambuf_iterator_id;
   518         return get_libcpp_wsdptr().time_put_wchar_ostreambuf_iterator_id;
   519     }
   519     }
   520 
   520 
   521 template <class _CharT, class _OutputIter>
   521 template <class _CharT, class _OutputIter>
   522 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   522 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   523 time_put<_CharT, _OutputIter>::GetFacetLocaleId(wchar_t**)
   523 time_put<_CharT, _OutputIter>::GetFacetLocaleId(wchar_t**)
   524     {
   524     {
   525 		return get_libcpp_wsdptr().time_put_wchar_wchar_id;
   525         return get_libcpp_wsdptr().time_put_wchar_wchar_id;
   526     }
   526     }
   527 
   527 
   528 template <class _CharT, class _InputIter>
   528 template <class _CharT, class _InputIter>
   529 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   529 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   530 money_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   530 money_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   531     {
   531     {
   532 		return get_libcpp_wsdptr().money_get_wchar_istreambuf_iterator_id;
   532         return get_libcpp_wsdptr().money_get_wchar_istreambuf_iterator_id;
   533     }
   533     }
   534 
   534 
   535 template <class _CharT, class _InputIter>
   535 template <class _CharT, class _InputIter>
   536 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   536 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   537 money_get<_CharT, _InputIter>::GetFacetLocaleId(const wchar_t**)
   537 money_get<_CharT, _InputIter>::GetFacetLocaleId(const wchar_t**)
   538     {
   538     {
   539 		return get_libcpp_wsdptr().money_get_wchar_wchar_const_id;
   539         return get_libcpp_wsdptr().money_get_wchar_wchar_const_id;
   540     }
   540     }
   541 
   541 
   542 template <class _CharT, class _OutputIter>
   542 template <class _CharT, class _OutputIter>
   543 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   543 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   544 money_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   544 money_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> >*)
   545 	{
   545     {
   546 		return get_libcpp_wsdptr().money_put_wchar_ostreambuf_iterator_id;
   546         return get_libcpp_wsdptr().money_put_wchar_ostreambuf_iterator_id;
   547 	}
   547     }
   548 
   548 
   549 template <class _CharT, class _OutputIter>
   549 template <class _CharT, class _OutputIter>
   550 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   550 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   551 money_put<_CharT, _OutputIter>::GetFacetLocaleId(wchar_t**)
   551 money_put<_CharT, _OutputIter>::GetFacetLocaleId(wchar_t**)
   552 	{
   552     {
   553 		return get_libcpp_wsdptr().money_put_wchar_wchar_id;
   553         return get_libcpp_wsdptr().money_put_wchar_wchar_id;
   554 	}
   554     }
   555 # endif //_STLP_NO_WCHAR_T
   555 # endif //_STLP_NO_WCHAR_T
   556 
   556 
   557 template <class _CharT, class _InputIter>
   557 template <class _CharT, class _InputIter>
   558 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   558 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   559 num_get<_CharT, _InputIter>::GetFacetLocaleId()
   559 num_get<_CharT, _InputIter>::GetFacetLocaleId()
   560     {
   560     {
   561     	_InputIter* dummyPtr = NULL;
   561         _InputIter* dummyPtr = NULL;
   562    		return GetFacetLocaleId(dummyPtr);
   562         return GetFacetLocaleId(dummyPtr);
   563     }
   563     }
   564 
   564 
   565 template <class _CharT, class _OutputIter>
   565 template <class _CharT, class _OutputIter>
   566 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   566 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   567 num_put<_CharT, _OutputIter>::GetFacetLocaleId()
   567 num_put<_CharT, _OutputIter>::GetFacetLocaleId()
   568 	{
   568     {
   569 		_OutputIter* dummyPtr = NULL;
   569         _OutputIter* dummyPtr = NULL;
   570 		return GetFacetLocaleId(dummyPtr);
   570         return GetFacetLocaleId(dummyPtr);
   571 	}
   571     }
   572 
   572 
   573 template <class _CharT, class _InputIter>
   573 template <class _CharT, class _InputIter>
   574 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   574 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   575 time_get<_CharT, _InputIter>::GetFacetLocaleId()
   575 time_get<_CharT, _InputIter>::GetFacetLocaleId()
   576     {
   576     {
   577     	_InputIter* dummyPtr = NULL;
   577         _InputIter* dummyPtr = NULL;
   578     	return GetFacetLocaleId(dummyPtr);
   578         return GetFacetLocaleId(dummyPtr);
   579     }
   579     }
   580 
   580 
   581 template <class _CharT, class _OutputIter>
   581 template <class _CharT, class _OutputIter>
   582 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   582 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   583 time_put<_CharT, _OutputIter>::GetFacetLocaleId()
   583 time_put<_CharT, _OutputIter>::GetFacetLocaleId()
   584 	{
   584     {
   585 		_OutputIter* dummyPtr = NULL;
   585         _OutputIter* dummyPtr = NULL;
   586 		return GetFacetLocaleId(dummyPtr);
   586         return GetFacetLocaleId(dummyPtr);
   587 	}
   587     }
   588 
   588 
   589 template <class _CharT, class _InputIter>
   589 template <class _CharT, class _InputIter>
   590 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   590 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   591 money_get<_CharT, _InputIter>::GetFacetLocaleId()
   591 money_get<_CharT, _InputIter>::GetFacetLocaleId()
   592     {
   592     {
   593     	_InputIter* dummyPtr = NULL;
   593         _InputIter* dummyPtr = NULL;
   594     	return GetFacetLocaleId(dummyPtr);
   594         return GetFacetLocaleId(dummyPtr);
   595     }
   595     }
   596 template <class _CharT, class _OutputIter>
   596 template <class _CharT, class _OutputIter>
   597 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   597 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   598 money_put<_CharT, _OutputIter>::GetFacetLocaleId()
   598 money_put<_CharT, _OutputIter>::GetFacetLocaleId()
   599 	{
   599     {
   600 		_OutputIter* dummyPtr = NULL;
   600         _OutputIter* dummyPtr = NULL;
   601 		return GetFacetLocaleId(dummyPtr);
   601         return GetFacetLocaleId(dummyPtr);
   602 	}
   602     }
   603 
   603 
   604 template <class _CharT, class _InputIter>
   604 template <class _CharT, class _InputIter>
   605 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   605 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   606 money_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >*)
   606 money_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >*)
   607     {
   607     {
   608 		return get_libcpp_wsdptr().money_get_char_istreambuf_iterator_id;
   608         return get_libcpp_wsdptr().money_get_char_istreambuf_iterator_id;
   609     }
   609     }
   610 
   610 
   611 template <class _CharT, class _InputIter>
   611 template <class _CharT, class _InputIter>
   612 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   612 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   613 money_get<_CharT, _InputIter>::GetFacetLocaleId(const char  **)
   613 money_get<_CharT, _InputIter>::GetFacetLocaleId(const char  **)
   614     {
   614     {
   615 		return get_libcpp_wsdptr().money_get_char_char_const_id;
   615         return get_libcpp_wsdptr().money_get_char_char_const_id;
   616     }
   616     }
   617 
   617 
   618 template <class _CharT, class _OutputIter>
   618 template <class _CharT, class _OutputIter>
   619 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   619 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   620 money_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> >*)
   620 money_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> >*)
   621 	{
   621     {
   622 		return get_libcpp_wsdptr().money_put_char_ostreambuf_iterator_id;
   622         return get_libcpp_wsdptr().money_put_char_ostreambuf_iterator_id;
   623 	}
   623     }
   624 
   624 
   625 template <class _CharT, class _OutputIter>
   625 template <class _CharT, class _OutputIter>
   626 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   626 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   627 money_put<_CharT, _OutputIter>::GetFacetLocaleId(char**)
   627 money_put<_CharT, _OutputIter>::GetFacetLocaleId(char**)
   628 	{
   628     {
   629 		return get_libcpp_wsdptr().money_put_char_char_id;
   629         return get_libcpp_wsdptr().money_put_char_char_id;
   630 	}
   630     }
   631 
   631 
   632 template <class _CharT, class _InputIter>
   632 template <class _CharT, class _InputIter>
   633 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   633 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   634 num_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >* )
   634 num_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >* )
   635     {
   635     {
   636    		return get_libcpp_wsdptr().num_get_char_istreambuf_iterator_id;
   636         return get_libcpp_wsdptr().num_get_char_istreambuf_iterator_id;
   637     }
   637     }
   638 
   638 
   639 template <class _CharT, class _InputIter>
   639 template <class _CharT, class _InputIter>
   640 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   640 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   641 num_get<_CharT, _InputIter>::GetFacetLocaleId(const char**)
   641 num_get<_CharT, _InputIter>::GetFacetLocaleId(const char**)
   642     {
   642     {
   643     	return get_libcpp_wsdptr().num_get_char_char_const_id;
   643         return get_libcpp_wsdptr().num_get_char_char_const_id;
   644     }
   644     }
   645 
   645 
   646 template <class _CharT, class _OutputIter>
   646 template <class _CharT, class _OutputIter>
   647 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   647 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   648 num_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> > *)
   648 num_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> > *)
   649 	{
   649     {
   650 		return get_libcpp_wsdptr().num_put_char_ostreambuf_iterator_id;
   650         return get_libcpp_wsdptr().num_put_char_ostreambuf_iterator_id;
   651 	}
   651     }
   652 
   652 
   653 template <class _CharT, class _OutputIter>
   653 template <class _CharT, class _OutputIter>
   654 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   654 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   655 num_put<_CharT, _OutputIter>::GetFacetLocaleId(char**)
   655 num_put<_CharT, _OutputIter>::GetFacetLocaleId(char**)
   656 	{
   656     {
   657 		return get_libcpp_wsdptr().num_put_char_char_id;
   657         return get_libcpp_wsdptr().num_put_char_char_id;
   658 	}
   658     }
   659 
   659 
   660 template <class _CharT, class _OutputIter>
   660 template <class _CharT, class _OutputIter>
   661 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   661 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   662 num_put<_CharT, _OutputIter>::GetFacetLocaleId(back_insert_iterator<string> *)
   662 num_put<_CharT, _OutputIter>::GetFacetLocaleId(back_insert_iterator<string> *)
   663 	{
   663     {
   664 		return get_libcpp_wsdptr().num_put_char_back_insert_iterator_id;
   664         return get_libcpp_wsdptr().num_put_char_back_insert_iterator_id;
   665 	}
   665     }
   666 
   666 
   667 template <class _CharT, class _InputIter>
   667 template <class _CharT, class _InputIter>
   668 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   668 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   669 time_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >*)
   669 time_get<_CharT, _InputIter>::GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >*)
   670     {
   670     {
   671 		return get_libcpp_wsdptr().time_get_char_istreambuf_iterator_id;
   671         return get_libcpp_wsdptr().time_get_char_istreambuf_iterator_id;
   672     }
   672     }
   673 
   673 
   674 template <class _CharT, class _InputIter>
   674 template <class _CharT, class _InputIter>
   675 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   675 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   676 time_get<_CharT, _InputIter>::GetFacetLocaleId(const char**)
   676 time_get<_CharT, _InputIter>::GetFacetLocaleId(const char**)
   677     {
   677     {
   678 		return get_libcpp_wsdptr().time_get_char_char_const_id;
   678         return get_libcpp_wsdptr().time_get_char_char_const_id;
   679     }
   679     }
   680 
   680 
   681 template <class _CharT, class _OutputIter>
   681 template <class _CharT, class _OutputIter>
   682 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   682 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   683 time_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> >*)
   683 time_put<_CharT, _OutputIter>::GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> >*)
   684 	{
   684     {
   685 		return get_libcpp_wsdptr().time_put_char_ostreambuf_iterator_id;
   685         return get_libcpp_wsdptr().time_put_char_ostreambuf_iterator_id;
   686 	}
   686     }
   687 
   687 
   688 template <class _CharT, class _OutputIter>
   688 template <class _CharT, class _OutputIter>
   689 inline _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   689 _STLP_STATIC_MEMBER_EXP_DECLSPEC locale::id&
   690 time_put<_CharT, _OutputIter>::GetFacetLocaleId(char**)
   690 time_put<_CharT, _OutputIter>::GetFacetLocaleId(char**)
   691 	{
   691 	{
   692 		return get_libcpp_wsdptr().time_put_char_char_id;
   692 		return get_libcpp_wsdptr().time_put_char_char_id;
   693 	}
   693 	}
   694 
   694