26 #include <boost/functional/hash.hpp> 40 instance_format (
string const& prefix,
size_t instanceNr)
42 return _Fmt(
"%s.%03d")
43 % prefix % instanceNr;
47 instance_hex_format (
string const& prefix,
size_t instanceNr)
49 return _Fmt(
"%s.%04X")
50 % prefix % instanceNr;
57 sharedInstanceCounter()
59 static TypedCounter instanceCounter;
60 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...