Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

5.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 DocumentContentsIndexNext file

OEM Edition, ©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.