Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/cpp2util.h
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ inline auto to_string(...) -> std::string {
return "(customize me - no cpp2::to_string overload exists for this type)";
}

inline auto to_string(std::any const&) -> std::string {
inline auto to_string(std::same_as<std::any> auto const&) -> std::string {
return "std::any";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ p = (first, (empty))
t = (3.140000, (empty), (empty))
vv = 0
vv = (1, 2.300000)
custom = std::any
custom = (customize me - no cpp2::to_string overload exists for this type)