cprintf_formats.hh (2665:a124942bacb8) cprintf_formats.hh (3857:2d724684bef3)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 274 unchanged lines hidden (view full) ---

283// integer formats
284//
285template <typename T>
286inline void
287format_integer(std::ostream &out, const T &data, Format &fmt)
288{ _format_integer(out, data, fmt); }
289inline void
290format_integer(std::ostream &out, char data, Format &fmt)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 274 unchanged lines hidden (view full) ---

283// integer formats
284//
285template <typename T>
286inline void
287format_integer(std::ostream &out, const T &data, Format &fmt)
288{ _format_integer(out, data, fmt); }
289inline void
290format_integer(std::ostream &out, char data, Format &fmt)
291{ _format_integer(out, data, fmt); }
291{ _format_integer(out, (int)data, fmt); }
292inline void
293format_integer(std::ostream &out, unsigned char data, Format &fmt)
292inline void
293format_integer(std::ostream &out, unsigned char data, Format &fmt)
294{ _format_integer(out, data, fmt); }
294{ _format_integer(out, (int)data, fmt); }
295inline void
296format_integer(std::ostream &out, signed char data, Format &fmt)
295inline void
296format_integer(std::ostream &out, signed char data, Format &fmt)
297{ _format_integer(out, data, fmt); }
297{ _format_integer(out, (int)data, fmt); }
298#if 0
299inline void
300format_integer(std::ostream &out, short data, Format &fmt)
301{ _format_integer(out, data, fmt); }
302inline void
303format_integer(std::ostream &out, unsigned short data, Format &fmt)
304{ _format_integer(out, data, fmt); }
305inline void

--- 50 unchanged lines hidden ---
298#if 0
299inline void
300format_integer(std::ostream &out, short data, Format &fmt)
301{ _format_integer(out, data, fmt); }
302inline void
303format_integer(std::ostream &out, unsigned short data, Format &fmt)
304{ _format_integer(out, data, fmt); }
305inline void

--- 50 unchanged lines hidden ---