vul_printf.h
Go to the documentation of this file.
1 // This is core/vul/vul_printf.h
2 #ifndef vul_printf_h_
3 #define vul_printf_h_
4 //:
5 // \file
6 // \brief Contains vul_printf function
7 //
8 // Printf formatting is just plain handy sometimes. This header provides
9 // it for C++ programs in a standard-conforming manner.
10 //
11 // \author Andrew W. Fitzgibbon, Oxford RRG
12 // \date 03 Jul 97
13 //
14 // \verbatim
15 // Modifications
16 // 970703 AWF Initial version.
17 // PDA (Manchester) 21/03/2001: Tidied up the documentation
18 // \endverbatim
19 
20 #include <iosfwd>
21 #ifdef _MSC_VER
22 # include <vcl_msvc_warnings.h>
23 #endif
24 
25 //: Print using printf format specifiers to an ostream.
26 // E.g.
27 // \code
28 // vul_printf(cout, "%d\n", 12);
29 // \endcode
30 std::ostream& vul_printf(std::ostream&, char const* fmt, ...);
31 
32 #endif // vul_printf_h_
std::ostream & vul_printf(std::ostream &, char const *fmt,...)
Print using printf format specifiers to an ostream.
Definition: vul_printf.cxx:17