Previous fileTop of DocumentContentsIndex pageNext file
Apache C++ Standard Library User's Guide

26.4 An Inserter for Phone Numbers

Now let's take a look at the implementation of the inserter for our phone number class:

//1The inserter function uses the output stream's locale object (obtained via getloc()),
//2uses the locale's phone number facet object,
//3and calls the facet object's formatting service put().


Previous fileTop of DocumentContentsIndex pageNext file