Files
Daniel Lemire a33fdc2770 Unconfusing clang (#2147)
* In some cases, clang might try to cast an ondemand::document to an
ondemand::document, instead of calling the move constructor. So we
can disable the template cast.

* In some cases, clang might get confused when constructing an ondemand
document in a constructor: instead of calling the move constructor, it
somehow ends up trying to cast a document to a document. We can easily
disallow this behavior with std::enable_if.

* making compatible with C++11

---------

Co-authored-by: Daniel Lemire <dlemire@lemire.me>
2024-03-10 13:20:39 -04:00
..
2024-02-15 10:40:11 -05:00
2024-03-10 13:20:39 -04:00
2023-07-08 21:09:57 +08:00
2023-05-26 09:23:02 -04:00
2023-07-08 21:09:57 +08:00
2020-04-08 14:00:13 -07:00
2023-04-08 16:11:40 -04:00