Are two std::string_views refering to equal-comparing string literal always also equal?

I have an unordered_map which is supposed to mimic a filter, taking key and value as std::string_view respectively. Now say I want to compare two filters that have the same key-value-pairs: Will they always compare equal? My thought is the following: The compiler tries its best to merge const char*’s with the same byte information… Read More Are two std::string_views refering to equal-comparing string literal always also equal?