scummvm/test/common
Colin Snover 076667dc00 COMMON: Add limited support for custom deleters to ScopedPtr
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.
2017-11-18 22:35:12 +01:00
..
algorithm.h JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
array.h COMMON: Allow construction of Arrays of non-copyable members 2017-10-06 22:10:50 -05:00
bitstream.h COMMON: Add BitStream classes for memory buffers 2017-08-24 19:46:59 +02:00
bufferedreadstream.h
bufferedseekablereadstream.h TESTS: Add failing test for repeated seeks in BufferedSeekableReadStream 2013-01-26 19:25:41 +01:00
endian.h TEST: Fix uint64 endian related test code. 2015-01-04 21:09:32 +01:00
fixedstack.h
func.h
hash-str.h TEST: Whitespaces in test/common/ 2013-07-10 13:22:57 +02:00
hashmap.h
huffman.h TEST: Thorough testing for common/hash-str.h 2013-07-10 13:21:24 +02:00
list.h
math.h
md5.h
memoryreadstream.h TEST: Fix another typo in uint64 endian tests. 2015-01-04 21:22:43 +01:00
memoryreadstreamendian.h TEST: Fix uint64 endian related test code. 2015-01-04 21:09:32 +01:00
memorywritestream.h
pack.h
ptr.h COMMON: Add limited support for custom deleters to ScopedPtr 2017-11-18 22:35:12 +01:00
queue.h
rational.h COMMON: Add convenience method to Common::Rational for 1:1 ratios 2016-02-18 13:18:02 -06:00
rect.h
rendermode.h TEST: Remove odd test in rendermode tests. 2014-08-07 15:04:13 +02:00
seekablesubreadstream.h
serializer.h
span.h COMMON: Make SpanOwner copy assignment make a copy of the owned Span 2017-06-08 10:45:55 -05:00
stack.h
str.h COMMON: Add basic fixed-width word wrap to Common::String 2017-11-10 09:57:41 -06:00
stream.h
subreadstream.h
tokenizer.h
util.h ALL: Resolve multiple clang warnings 2014-03-30 14:38:02 +02:00