c++ Programming Glossary: basemanip
Custom stream manipulator for streaming integers in any base http://stackoverflow.com/questions/6478745/custom-stream-manipulator-for-streaming-integers-in-any-base take parameters only they return an opaque type. struct BaseManip int mBase BaseManip int base mBase base assert base 2 assert.. they return an opaque type. struct BaseManip int mBase BaseManip int base mBase base assert base 2 assert base 36 static int.. to the stream. std ostream operator std ostream os const BaseManip bm bm.apply os return os convience function so we can do std..
|