Skip to content

use of deleted function fmt::v10::formatte #5

@xkungxfu

Description

@xkungxfu
template <typename T, typename ParseContext>
FMT_CONSTEXPR auto parse_format_specs(ParseContext& ctx)
    -> decltype(ctx.begin())
{
  using char_type = typename ParseContext::char_type;
  using context = buffer_context<char_type>;
  using mapped_type = conditional_t<
      mapped_type_constant<T, context>::value != type::custom_type,
      decltype(arg_mapper<context>().map(std::declval<const T&>())),
      typename strip_named_arg<T>::type>;
  return formatter<mapped_type, char_type>().parse(ctx);
}

error log:

vcpkg-2023.06.20\packages\fmt_x64-windows\include\fmt\core.h:2561: error: use of deleted function 'fmt::v10::formatter<T, Char, Enable>::formatter() [with T = AVMediaType; Char = char; Enable = void]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions