mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 13:19:48 +01:00
use named arg with static name in compile-time API
to get arg index by name at compile-time
This commit is contained in:
committed by
Victor Zverovich
parent
ce6e7d8620
commit
ca821982ee
@@ -451,7 +451,8 @@ template <typename Char> class basic_string_view {
|
||||
return result;
|
||||
}
|
||||
|
||||
friend bool operator==(basic_string_view lhs, basic_string_view rhs) {
|
||||
FMT_CONSTEXPR_CHAR_TRAITS friend bool operator==(basic_string_view lhs,
|
||||
basic_string_view rhs) {
|
||||
return lhs.compare(rhs) == 0;
|
||||
}
|
||||
friend bool operator!=(basic_string_view lhs, basic_string_view rhs) {
|
||||
|
||||
Reference in New Issue
Block a user