1 /* 2 * File: format_string.h 3 * 4 * Copyright (c) Freescale Semiconductor, Inc. All rights reserved. 5 * See included license file for license details. 6 */ 7 #if !defined(_format_string_h_) 8 #define _format_string_h_ 9 10 #include <string> 11 #include <stdexcept> 12 13 /*! 14 * \brief Returns a formatted STL string using printf format strings. 15 */ 16 std::string format_string(const char * fmt, ...); 17 18 19 #endif // _format_string_h_ 20 21