[SG16-Unicode] filesystem::path_view::compare()

Lyberta lyberta at lyberta.net
Sun Aug 25 05:24:00 CEST 2019


Niall Douglas:
> Anyway the point that I am making here is that the kernel and filesystem
> are black boxes. Unknowable. There is no point attempting to replicate
> an unknowable black box in C++. Far better to simply ask the black box
> to do the path comparison for you, it and only it knows what paths are
> equal, and which are not.

I'm thinking of abstraction where there is a virtual function call
overhead but not a syscall overhead for every comparison and where there
is still possible to compare paths to nonexistent files even when the
actual comparison algorithm is implementation defined.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://www.open-std.org/pipermail/unicode/attachments/20190825/4025860e/attachment.bin 


More information about the Unicode mailing list