8#ifndef INCLUDED_BSLFMT_PRINT_IMP
9#define INCLUDED_BSLFMT_PRINT_IMP
86#include <bslscm_version.h>
95#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
101# define COMPILING_BSLFMT_PRINT_IMP_H
103# undef COMPILING_BSLFMT_PRINT_IMP_H
108#if defined(BSLS_COMPILERFEATURES_SUPPORT_ALIAS_TEMPLATES) && \
109 defined(BSLS_COMPILERFEATURES_SUPPORT_VARIADIC_TEMPLATES)
110# define BSLFMT_FORMAT_STRING_PARAMETER bsl::format_string<t_ARGS...>
114# define BSLFMT_FORMAT_STRING_PARAMETER bsl::format_string
124#if !BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
130template <
class... t_ARGS>
141template <
class... t_ARGS>
142void print(std::FILE *stream,
151template <
class... t_ARGS>
162template <
class... t_ARGS>
193 bsl::format_args args);
205 bsl::format_args args);
224 bsl::format_args args);
236 bsl::format_args args);
249#if !BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
250template <
class... t_ARGS>
252void print(std::FILE *stream,
258 bsl::make_format_args(args...));
261template <
class... t_ARGS>
268template <
class... t_ARGS>
276 bsl::vformat(fmt.get(), bsl::make_format_args(args...)));
279template <
class... t_ARGS>
308#undef BSLFMT_FORMAT_STRING_PARAMETER
Definition bslstl_stringview.h:471
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bslfmt_enablestreamedformatter.h:130
void print(BSLFMT_FORMAT_STRING_PARAMETER fmt, t_ARGS &&... args)
Definition bslfmt_print_imp.h:263
void Print_Imp_ThrowIoError()
Throw system_error with errc::io_error.
void vprint_unicode_buffered(std::FILE *stream, bsl::string_view fmt, bsl::format_args args)
void vprint_unicode(bsl::string_view fmt, bsl::format_args args)
Definition bslfmt_print_imp.h:300
void println()
Write \n into stdout.
Definition bslfmt_print_imp.h:288
void vprint_nonunicode(bsl::string_view fmt, bsl::format_args args)
Definition bslfmt_print_imp.h:294
void vprint_nonunicode_buffered(std::FILE *stream, bsl::string_view fmt, bsl::format_args args)