https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688

            Bug ID: 109688
           Summary: Build fail with C++20 and -DSPDLOG_USE_STD_FORMAT=1
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lukaszcz18 at wp dot pl
  Target Milestone: ---

```
Using built-in specs.
COLLECT_GCC=g++.exe
Target: x86_64-w64-mingw32
Configured with: /home/ma/m/source/gcc-g/configure --host=x86_64-w64-mingw32
--target=x86_64-w64-mingw32 --disable-nls --enable-languages=c,c++,objc,obj-c++
--with-gmp=/home/ma/m/build/for_target --with-mpfr=/home/ma/m/build/for_target
--with-mpc=/home/ma/m/build/for_target --with-isl=/home/ma/m/build/for_target
--enable-twoprocess --disable-libstdcxx-pch --disable-win32-registry
--disable-shared --enable-fully-dynamic-string --enable-libssp
--prefix=/home/ma/m/target --with-sysroot=/home/ma/m/target
Thread model: win32
Supported LTO compression algorithms: zlib
gcc version 13.0.1 20230421 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-v' '-std=gnu++20' '-march=x86-64-v2' '-ftree-vectorize'
'-g0' '-O3' '-fPIC' '-mavx' '-mxsave' '-mpclmul' '-maes' '-D'
'SPDLOG_USE_STD_FORMAT=1' '-c' '-o' 'example.o'
 C:/gcc1301/bin/../libexec/gcc/x86_64-w64-mingw32/13.0.1/cc1plus.exe -quiet -v
-iprefix C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/ -U_REENTRANT -D
SPDLOG_USE_STD_FORMAT=1 example.cpp -quiet -dumpbase example.cpp -dumpbase-ext
.cpp -march=x86-64-v2 -mavx -mxsave -mpclmul -maes -g0 -O3 -std=gnu++20
-version -ftree-vectorize -fPIC -o
C:\Users\KOMPUT~1\AppData\Local\Temp\ccxiMnxa.s
GNU C++20 (GCC) version 13.0.1 20230421 (prerelease) (x86_64-w64-mingw32)
        compiled by GNU C version 13.0.1 20230421 (prerelease), GMP version
6.2.1, MPFR version 4.2.0-p4, MPC version 1.3.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory
"C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++/13.0.1"
ignoring duplicate directory
"C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++/13.0.1/x86_64-w64-mingw32"
ignoring duplicate directory
"C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++/13.0.1/backward"
ignoring duplicate directory
"C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/include"
ignoring nonexistent directory
"/home/ma/m/target/home/ma/m/target/lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include"
ignoring duplicate directory
"C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/include-fixed"
ignoring duplicate directory
"C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../x86_64-w64-mingw32/include"
ignoring nonexistent directory "/home/ma/m/target/mingw/include"
#include "..." search starts here:
#include <...> search starts here:

C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++/13.0.1

C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++/13.0.1/x86_64-w64-mingw32

C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++/13.0.1/backward
 C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/include
 C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/include-fixed

C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../x86_64-w64-mingw32/include
End of search list.
Compiler executable checksum: c5bc1656e1b332d798c0577f7a3d2ab8
In file included from C:/gcc1301/include/c++/13.0.1/bits/chrono_io.h:39,
                 from C:/gcc1301/include/c++/13.0.1/chrono:3330,
                 from example.cpp:8:
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char> > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
vector<char, allocator<char> > > >}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char,
std::allocator<char> > > >}; format_string_t<Args ...> =
std::basic_string_view<char>]'
example.cpp:194:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function for
call to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char>
>::basic_format_arg(spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char> > >&)'
 3241 |           basic_format_arg<_Context> __arg(__v);
      |                                      ^~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template<class
_Tp>  requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2996 |         basic_format_arg(_Tp& __v) noexcept
      |         ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note:   template argument
deduction/substitution failed:
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied
In file included from C:/gcc1301/include/c++/13.0.1/bits/chrono.h:43,
                 from C:/gcc1301/include/c++/13.0.1/chrono:41:
C:/gcc1301/include/c++/13.0.1/concepts: In substitution of 'template<class _Tp>
 requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(_Tp&) [with _Tp =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]':
C:/gcc1301/include/c++/13.0.1/format:3241:31:   required from 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char> > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]'
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
vector<char, allocator<char> > > >}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char,
std::allocator<char> > > >}; format_string_t<Args ...> =
std::basic_string_view<char>]'
example.cpp:194:17:   required from here
C:/gcc1301/include/c++/13.0.1/concepts:139:13:   required for the satisfaction
of 'assignable_from<_Tp&, _Tp>' [with _Tp =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:263:13:   required for the satisfaction
of 'movable<_Tp>' [with _Tp =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:267:13:   required for the satisfaction
of 'copyable<_Tp>' [with _Tp =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:272:13:   required for the satisfaction
of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/format:2197:13:   required for the satisfaction
of '__formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >' [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]
C:/gcc1301/include/c++/13.0.1/concepts:142:10:   in requirements with '_Lhs
__lhs', '_Rhs&& __rhs' [with _Lhs =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char, std::allocator<char> > > >, char>&; _Rhs =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:143:17: note: the required expression
'__lhs = static_cast<_Rhs&&>(__rhs)' is invalid
  143 |         { __lhs = static_cast<_Rhs&&>(__rhs) } -> same_as<_Lhs>;
      |           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char> > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
vector<char, allocator<char> > > >}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char,
std::allocator<char> > > >}; format_string_t<Args ...> =
std::basic_string_view<char>]'
example.cpp:194:17:   required from here
cc1plus.exe: note: set '-fconcepts-diagnostics-depth=' to at least 2 for more
detail
C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate:
'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2808 |       basic_format_arg() noexcept : _M_type(__format::_Arg_none) { }
      |       ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2808:7: note:   candidate expects 0
arguments, 1 provided
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&)'
 2746 |     class basic_format_arg
      |           ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char> > >' to 'const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char>
>::basic_format_arg(std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&)'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const
char*, std::vector<char> > >' to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&'
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char> > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, vector<char,
allocator<char> > > >}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char,
std::allocator<char> > > >}; format_string_t<Args ...> =
std::basic_string_view<char>]'
example.cpp:195:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function for
call to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char>
>::basic_format_arg(spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char> > >&)'
 3241 |           basic_format_arg<_Context> __arg(__v);
      |                                      ^~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template<class
_Tp>  requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2996 |         basic_format_arg(_Tp& __v) noexcept
      |         ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note:   template argument
deduction/substitution failed:
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied
C:/gcc1301/include/c++/13.0.1/concepts: In substitution of 'template<class _Tp>
 requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(_Tp&) [with _Tp =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]':
C:/gcc1301/include/c++/13.0.1/format:3241:31:   required from 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char> > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]'
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, vector<char,
allocator<char> > > >}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char,
std::allocator<char> > > >}; format_string_t<Args ...> =
std::basic_string_view<char>]'
example.cpp:195:17:   required from here
C:/gcc1301/include/c++/13.0.1/concepts:139:13:   required for the satisfaction
of 'assignable_from<_Tp&, _Tp>' [with _Tp =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:263:13:   required for the satisfaction
of 'movable<_Tp>' [with _Tp =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:267:13:   required for the satisfaction
of 'copyable<_Tp>' [with _Tp =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:272:13:   required for the satisfaction
of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/format:2197:13:   required for the satisfaction
of '__formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >' [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]
C:/gcc1301/include/c++/13.0.1/concepts:142:10:   in requirements with '_Lhs
__lhs', '_Rhs&& __rhs' [with _Lhs =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >, char>&; _Rhs =
std::formatter<spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >, char>]
C:/gcc1301/include/c++/13.0.1/concepts:143:17: note: the required expression
'__lhs = static_cast<_Rhs&&>(__rhs)' is invalid
  143 |         { __lhs = static_cast<_Rhs&&>(__rhs) } -> same_as<_Lhs>;
      |           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char> > >; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, vector<char,
allocator<char> > > >}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > > >}; spdlog::format_string_t<Args
...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char,
std::allocator<char> > > >}; format_string_t<Args ...> =
std::basic_string_view<char>]'
example.cpp:195:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate:
'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2808 |       basic_format_arg() noexcept : _M_type(__format::_Arg_none) { }
      |       ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2808:7: note:   candidate expects 0
arguments, 1 provided
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&)'
 2746 |     class basic_format_arg
      |           ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char> > >' to 'const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char>
>::basic_format_arg(std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&)'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*,
std::vector<char> > >' to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&'
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::stopwatch; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::stopwatch}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::stopwatch&}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args = {spdlog::stopwatch&};
spdlog::string_view_t = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{stopwatch&}; format_string_t<Args ...> = std::basic_string_view<char>]'
example.cpp:240:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function for
call to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(spdlog::stopwatch&)'
 3241 |           basic_format_arg<_Context> __arg(__v);
      |                                      ^~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template<class
_Tp>  requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2996 |         basic_format_arg(_Tp& __v) noexcept
      |         ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note:   template argument
deduction/substitution failed:
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied
C:/gcc1301/include/c++/13.0.1/format: In substitution of 'template<class _Tp> 
requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(_Tp&) [with _Tp =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]':
C:/gcc1301/include/c++/13.0.1/format:3241:31:   required from 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::stopwatch; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]'
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::stopwatch}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::stopwatch&}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args = {spdlog::stopwatch&};
spdlog::string_view_t = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{stopwatch&}; format_string_t<Args ...> = std::basic_string_view<char>]'
example.cpp:240:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:2197:13:   required for the satisfaction
of '__formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >' [with _Tp =
spdlog::stopwatch; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]
C:/gcc1301/include/c++/13.0.1/format:2199:7:   in requirements with 'const
_Formatter __cf', '_Tp&& __t', '_Context __fc' [with _Formatter =
std::formatter<spdlog::stopwatch, char>; _Tp = spdlog::stopwatch; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]
C:/gcc1301/include/c++/13.0.1/format:2201:20: note: the required expression
'__cf.format(__t, __fc)' is invalid
 2201 |       { __cf.format(__t, __fc) } -> same_as<typename
_Context::iterator>;
      |         ~~~~~~~~~~~^~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
spdlog::stopwatch; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{spdlog::stopwatch}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args =
{spdlog::stopwatch&}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args = {spdlog::stopwatch&};
spdlog::string_view_t = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args =
{spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {spdlog::stopwatch&}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{stopwatch&}; format_string_t<Args ...> = std::basic_string_view<char>]'
example.cpp:240:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate:
'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2808 |       basic_format_arg() noexcept : _M_type(__format::_Arg_none) { }
      |       ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2808:7: note:   candidate expects 0
arguments, 1 provided
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&)'
 2746 |     class basic_format_arg
      |           ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'spdlog::stopwatch' to 'const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char>
>::basic_format_arg(std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&)'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'spdlog::stopwatch' to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&'
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
my_type; _Context = std::basic_format_context<std::__format::_Sink_iter<char>,
char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{my_type}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args = {my_type}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args = {my_type};
spdlog::string_view_t = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args = {my_type};
spdlog::format_string_t<Args ...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args = {my_type};
spdlog::format_string_t<Args ...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {my_type}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{my_type}; format_string_t<Args ...> = std::basic_string_view<char>]'
example.cpp:299:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function for
call to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(my_type&)'
 3241 |           basic_format_arg<_Context> __arg(__v);
      |                                      ^~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template<class
_Tp>  requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2996 |         basic_format_arg(_Tp& __v) noexcept
      |         ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2996:9: note:   template argument
deduction/substitution failed:
C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied
C:/gcc1301/include/c++/13.0.1/format: In substitution of 'template<class _Tp> 
requires  __formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(_Tp&) [with _Tp =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]':
C:/gcc1301/include/c++/13.0.1/format:3241:31:   required from 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
my_type; _Context = std::basic_format_context<std::__format::_Sink_iter<char>,
char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]'
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{my_type}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args = {my_type}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args = {my_type};
spdlog::string_view_t = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args = {my_type};
spdlog::format_string_t<Args ...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args = {my_type};
spdlog::format_string_t<Args ...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {my_type}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{my_type}; format_string_t<Args ...> = std::basic_string_view<char>]'
example.cpp:299:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:2197:13:   required for the satisfaction
of '__formattable_with<_Tp, _Context, typename
_Context::formatter_type<typename std::remove_const<_Tp>::type>,
std::basic_format_parse_context<typename _Context::char_type> >' [with _Tp =
my_type; _Context = std::basic_format_context<std::__format::_Sink_iter<char>,
char>]
C:/gcc1301/include/c++/13.0.1/format:2199:7:   in requirements with 'const
_Formatter __cf', '_Tp&& __t', '_Context __fc' [with _Formatter =
std::formatter<my_type, char>; _Tp = my_type; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]
C:/gcc1301/include/c++/13.0.1/format:2201:20: note: the required expression
'__cf.format(__t, __fc)' is invalid
 2201 |       { __cf.format(__t, __fc) } -> same_as<typename
_Context::iterator>;
      |         ~~~~~~~~~~~^~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static
std::__format::_Arg_store<_Context, _Args>::_Element_t
std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =
my_type; _Context = std::basic_format_context<std::__format::_Sink_iter<char>,
char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}; _Element_t =
std::__format::_Arg_store<std::basic_format_context<std::__format::_Sink_iter<char>,
char>,
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle>::_Element_t]':
C:/gcc1301/include/c++/13.0.1/format:3252:23:   required from
'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp =
{my_type}; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>; _Args =
{std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::handle}]'
C:/gcc1301/include/c++/13.0.1/format:3301:14:   required from 'auto
std::make_format_args(_Args&& ...) [with _Context =
basic_format_context<__format::_Sink_iter<char>, char>; _Args = {my_type}]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88:   required from
'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum,
spdlog::string_view_t, Args&& ...) [with Args = {my_type};
spdlog::string_view_t = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13:   required from
'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args = {my_type};
spdlog::format_string_t<Args ...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12:   required from
'void spdlog::logger::log(spdlog::level::level_enum,
spdlog::format_string_t<Args ...>, Args&& ...) [with Args = {my_type};
spdlog::format_string_t<Args ...> = std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12:   required from
'void spdlog::logger::info(spdlog::format_string_t<Args ...>, Args&& ...) [with
Args = {my_type}; spdlog::format_string_t<Args ...> =
std::basic_string_view<char>]'
C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31:   required from
'void spdlog::info(format_string_t<Args ...>, Args&& ...) [with Args =
{my_type}; format_string_t<Args ...> = std::basic_string_view<char>]'
example.cpp:299:17:   required from here
C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate:
'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
 2808 |       basic_format_arg() noexcept : _M_type(__format::_Arg_none) { }
      |       ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2808:7: note:   candidate expects 0
arguments, 1 provided
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >::basic_format_arg(const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&)'
 2746 |     class basic_format_arg
      |           ^~~~~~~~~~~~~~~~
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'my_type' to 'const
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr
std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char>
>::basic_format_arg(std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&)'
C:/gcc1301/include/c++/13.0.1/format:2746:11: note:   no known conversion for
argument 1 from 'my_type' to
'std::basic_format_arg<std::basic_format_context<std::__format::_Sink_iter<char>,
char> >&&'
```

Reply via email to