mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 08:46:42 +08:00
Docs: note maps are also specialized for wchar_t
Follow-on to #44. [skip ci]
This commit is contained in:
parent
509c544d0f
commit
f626bcde1a
@ -72,6 +72,6 @@ signature of the template `better_enums::map` is
|
||||
`Compare` has to be a class with a static member function
|
||||
`bool less(const T&, const T&)`. The default implementation
|
||||
`better_enums::map_compare` simply applies `operator <`, except when `T` is
|
||||
`const char*`. In that case, it does lexicographic comparison.
|
||||
`const char*` or `const wchar_t*`. In that case, it does lexicographic comparison.
|
||||
|
||||
%% description = Mapping enums to arbitrary types and vice versa.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user