Skip to content

Commit

Permalink
Documentation-related FIXME resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
eao197 committed Aug 9, 2022
1 parent 799fc02 commit ebaba2c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dev/restinio/impl/include_fmtlib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,15 @@ decltype(auto) streamed( T && v ) noexcept

} /* namespace restinio */

//FIXME: document this!
/*
* NOTE: if RESTinio is used in project compiled with
* FMT_ENFORCE_COMPILE_STRING then a format_string for fmt::format
* and fmt::print function has to be specified via FMT_STRING macro.
*
* To cope with this a new macro RESTINIO_FMT_FORMAT_STRING(s) was
* introduced in v.0.6.17. It's expanded into FMT_STRING(s) if
* FMT_ENFORCE_COMPILE_STRING is set, otherwise it's just s.
*/

#if defined(FMT_ENFORCE_COMPILE_STRING)
#define RESTINIO_FMT_FORMAT_STRING(s) FMT_STRING(s)
Expand Down

0 comments on commit ebaba2c

Please sign in to comment.