Formatting of function pointers, member function pointers, member object pointers... (#2610)
This commit is contained in:
@@ -67,6 +67,12 @@ expect_compile_error("
|
||||
fmt::format(\"{}\", S());
|
||||
")
|
||||
|
||||
# Formatting a function
|
||||
expect_compile_error("
|
||||
void (*f)();
|
||||
fmt::format(\"{}\", f);
|
||||
")
|
||||
|
||||
# Make sure that compiler features detected in the header
|
||||
# match the features detected in CMake.
|
||||
if (SUPPORTS_USER_DEFINED_LITERALS)
|
||||
|
||||
Reference in New Issue
Block a user