equal
deleted
inserted
replaced
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); |