Changeset 223258 in webkit
- Timestamp:
- Oct 12, 2017, 2:29:29 PM (8 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r223238 r223258 1 2017-10-12 Alex Christensen <achristensen@webkit.org> 2 3 Add CompletionHandler and HashCountedSet to wtf/Forward.h 4 https://bugs.webkit.org/show_bug.cgi?id=178231 5 6 Reviewed by Tim Horton. 7 8 * wtf/Forward.h: 9 * wtf/HashCountedSet.h: 10 1 11 2017-10-11 Sam Weinig <sam@webkit.org> 2 12 -
trunk/Source/WTF/wtf/Forward.h
r222113 r223258 32 32 class CrashOnOverflow; 33 33 34 template<typename T> class Function; 35 template<typename T> class LazyNeverDestroyed; 36 template<typename T> class NeverDestroyed; 37 template<typename T> class OptionSet; 38 template<typename T> class Ref; 39 template<typename T> class RefPtr; 40 template<typename T> class StringBuffer; 34 template<typename> class CompletionHandler; 35 template<typename> class Function; 36 template<typename> class LazyNeverDestroyed; 37 template<typename> class NeverDestroyed; 38 template<typename> class OptionSet; 39 template<typename> class Ref; 40 template<typename> class RefPtr; 41 template<typename> class StringBuffer; 41 42 42 template<typename... T> class Variant; 43 template<typename T, size_t inlineCapacity = 0, typename OverflowHandler = CrashOnOverflow, size_t minCapacity = 16, typename Malloc = FastMalloc> class Vector; 43 template<typename> struct DefaultHash { using Hash = void; }; 44 template<typename> struct HashTraits; 45 46 template<typename...> class Variant; 47 template<typename, size_t inlineCapacity = 0, typename OverflowHandler = CrashOnOverflow, size_t minCapacity = 16, typename Malloc = FastMalloc> class Vector; 48 template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>> class HashCountedSet; 44 49 45 50 class AtomicString; … … 61 66 using WTF::AtomicStringImpl; 62 67 using WTF::BinarySemaphore; 68 using WTF::CompletionHandler; 63 69 using WTF::CString; 64 70 using WTF::Function; 65 71 using WTF::FunctionDispatcher; 72 using WTF::HashCountedSet; 66 73 using WTF::LazyNeverDestroyed; 67 74 using WTF::NeverDestroyed; -
trunk/Source/WTF/wtf/HashCountedSet.h
r223236 r223258 23 23 #include <initializer_list> 24 24 #include <wtf/Assertions.h> 25 #include <wtf/Forward.h> 25 26 #include <wtf/HashMap.h> 26 27 #include <wtf/Vector.h> … … 28 29 namespace WTF { 29 30 30 template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>31 template<typename Value, typename HashFunctions, typename Traits> 31 32 class HashCountedSet final { 32 33 WTF_MAKE_FAST_ALLOCATED;
Note:
See TracChangeset
for help on using the changeset viewer.