当前位置:网站首页>C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
2022-07-03 06:42:00 【hjxu2016】
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
Calling spdlog when , This is a mistake .
SPDLOG_LOGGER_CALL(logger, spdlog::level::level_enum::debug, "so {}", eCode);
Because eCode It's an enumeration , and spdlog The template in does not support enumeration .
Solution : int Coercive transformation .
SPDLOG_LOGGER_CALL(logger, spdlog::level::level_enum::debug, "so {}", int(eCode));
边栏推荐
- “我为开源打榜狂”第一周榜单公布,160位开发者上榜
- A letter to graduating college students
- Reinstalling the system displays "setup is applying system settings" stationary
- Personally design a highly concurrent seckill system
- Dbnet: real time scene text detection with differentiable binarization
- Asynchronous programming: async/await in asp Net
- JMeter linked database
- [Code] if (list! = null & list. Size() > 0) optimization, set empty judgment implementation method
- 10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”
- How matlab modifies default settings
猜你喜欢
scroll-view指定滚动元素的起始位置
每日刷题记录 (十一)
Une exploration intéressante de l'interaction souris - pointeur
Operation principle of lua on C: Foundation
HMS core helps baby bus show high-quality children's digital content to global developers
Redis cluster creation, capacity expansion and capacity reduction
【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
After the Chrome browser is updated, lodop printing cannot be called
Important knowledge points of redis
Install VM tools
随机推荐
Important knowledge points of redis
Modify MySQL password
Simple password lock
Yolov2 learning and summary
机械观和系统观的科学思维方式各有什么特点和作用
opencv
Example of joint use of ros+pytoch (semantic segmentation)
POI dealing with Excel learning
[set theory] equivalence relation (concept of equivalence relation | examples of equivalence relation | equivalence relation and closure)
opencv
方差迭代公式推导
Journal quotidien des questions (11)
剖析虚幻渲染体系(16)- 图形驱动的秘密
Mysql database
Daily question brushing record (11)
【LeetCode】Day93-两个数组的交集 II
golang操作redis:写入、读取kv数据
【code】偶尔取值、判空、查表、验证等
JMeter linked database
Judge whether the date time exceeds 31 days