mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 23:18:44 +00:00
076667dc00
Custom deleters of ScopedPtr are not currently fully conforming to C++11's support for custom deleters in std::unique_ptr for the sake of simplicity of implementation. Unlike in the standard library, plain functions and lvalue references are not supported, nor may custom deleters be passed to the constructor at runtime. This can be improved in the future, if necessary, by doing what standard library implementations usually do and creating a Pair class that uses the Empty Base Optimization idiom to avoid extra storage overhead of the deleter instance when it is not needed, as in typical standard library implementations, plus some additional type traits to support the necessary metaprogramming for the different type overloads. |
||
---|---|---|
.. | ||
algorithm.h | ||
array.h | ||
bitstream.h | ||
bufferedreadstream.h | ||
bufferedseekablereadstream.h | ||
endian.h | ||
fixedstack.h | ||
func.h | ||
hash-str.h | ||
hashmap.h | ||
huffman.h | ||
list.h | ||
math.h | ||
md5.h | ||
memoryreadstream.h | ||
memoryreadstreamendian.h | ||
memorywritestream.h | ||
pack.h | ||
ptr.h | ||
queue.h | ||
rational.h | ||
rect.h | ||
rendermode.h | ||
seekablesubreadstream.h | ||
serializer.h | ||
span.h | ||
stack.h | ||
str.h | ||
stream.h | ||
subreadstream.h | ||
tokenizer.h | ||
util.h |