enerator</a> with <code>true</code> as the parameter.</p>
<p>For example:</p>
<div class="fragment"><div class="line">generator gen;</div>
<div class="line">gen.<a class="code" href="classboost_1_1locale_1_1generator.html#ac2d152e2803cd96f4acc646943f2df51">locale_cache_enabled</a>(<span class="keyword">true</span>);</div>
<div class="line">gen(<span class="stringliteral">&quot;en_US.UTF-8&quot;</span>);</div>
<div class="line">gen(<span class="stringliteral">&quot;de_DE.UTF-8&quot;</span>);</div>
<div class