Add an explicit specialization of container_hash::is_described_class … - #355
Conversation
…for filesystem::path, because when reflection is available, path becomes a described class and the hash_value call becomes ambiguous
|
But I wonder if this should be necessary. Doesn't this PR indicate potential breakages in the users' code? Can the generic |
|
It's declared in Yes, it does indicate potential breakage in user code. No, I won't add Specializing the ContainerHash classification traits is already the documented method of resolving such ambiguities. That's not a very common problem because user overloads are typically more specialized. |
…for filesystem::path, because when reflection is available, path becomes a described class and the hash_value call becomes ambiguous