include/StringUtils.hxx
// like sprintf, but without having to manually allocate/deallocate memory
// not so efficient however
like sprintf, but without having to manually allocate/deallocate memory
not so efficient however
like sprintf but without having to manually allocate / deallocate memory not so efficient however
inline std::string format(const char *fmt, ...)
{
	va_list args;
	va_start(args, fmt);
	std::string s = format_arg_list(fmt, args);
	va_end(args);
	return s;
}
inline std :: string format ( const char * fmt , ... ) { va_list args ; va_start ( args , fmt ) ; std :: string s = format_arg_list ( fmt , args ) ; va_end ( args ) ; return s ; }
like sprintf, but without having to manually allocate/deallocate memory
not so efficient however
like sprintf but without having to manually allocate / deallocate memory not so efficient however