Lines Matching full:loc2
195 locale loc2( loc, new my_facet() );
196 CPPUNIT_ASSERT( has_facet<my_facet>( loc2 ) );
197 os.imbue( loc2 );
264 locale loc1(locale::classic()), loc2;
278 loc2 = loc;
284 ostr << "combining '" << loc2.name() << "' money facets with '" << loc1.name() << "'";
289 //We check that resulting locale has correctly acquire loc2 facets.
290 locale loc = loc1.combine<moneypunct<char, true> >(loc2);
291 loc = loc.combine<moneypunct<char, false> >(loc2);
292 loc = loc.combine<money_put<char> >(loc2);
293 loc = loc.combine<money_get<char> >(loc2);
296 _money_put_get2(loc2, loc, _get_ref_monetary(i));
301 //Check loc2 has not been impacted:
302 _money_put_get2(loc2, loc2, _get_ref_monetary(i));
306 locale loc = loc2.combine<numpunct<char> >(loc1);
311 _money_put_get2(loc2, loc, _get_ref_monetary(i));
316 //Check loc2 has not been impacted:
317 _money_put_get2(loc2, loc2, _get_ref_monetary(i));
326 loc1 = loc2;