35 #include <boost/functional/hash.hpp> 49 instance_format (
string const& prefix,
size_t instanceNr)
51 return _Fmt(
"%s.%03d")
52 % prefix % instanceNr;
56 instance_hex_format (
string const& prefix,
size_t instanceNr)
58 return _Fmt(
"%s.%04X")
59 % prefix % instanceNr;
66 sharedInstanceCounter()
68 static TypedCounter instanceCounter;
69 return instanceCounter;
A front-end for using printf-style formatting.
Implementation namespace for support and library code.
Generic functions to build identification schemes.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...