stdcpp/tsrc/Stdcpp_test/stdcxx/tstapps/localization/src/22.locale.money.put.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
   316 
   316 
   317     // ios-derived object to pass to the facet
   317     // ios-derived object to pass to the facet
   318     Ios<charT> ios;
   318     Ios<charT> ios;
   319 
   319 
   320     // money_put-derived object
   320     // money_put-derived object
       
   321     #ifdef __ARMCC__
       
   322     #pragma diag_suppress 811
       
   323     #endif
   321     const MoneyPut<charT> mp;
   324     const MoneyPut<charT> mp;
       
   325     
   322 
   326 
   323     // install the moneypunct facet in a locale and imbue the latter
   327     // install the moneypunct facet in a locale and imbue the latter
   324     // in the ios-derived object used by money_put
   328     // in the ios-derived object used by money_put
   325     std::locale loc (ios.getloc (), (const std::moneypunct<charT>*)&pun);
   329     std::locale loc (ios.getloc (), (const std::moneypunct<charT>*)&pun);
   326     ios.imbue (loc);
   330     ios.imbue (loc);