Changeset 234514 in webkit


Ignore:
Timestamp:
Aug 2, 2018 1:24:57 PM (6 years ago)
Author:
achristensen@apple.com
Message:

Add some Variant types to Forward.h
https://bugs.webkit.org/show_bug.cgi?id=188250

  • wtf/Forward.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r234501 r234514  
     12018-08-02  Alex Christensen  <achristensen@webkit.org>
     2
     3        Add some Variant types to Forward.h
     4        https://bugs.webkit.org/show_bug.cgi?id=188250
     5
     6        * wtf/Forward.h:
     7
    182018-08-02  David Fenton  <david_fenton@apple.com>
    29
  • trunk/Source/WTF/wtf/Forward.h

    r231753 r234514  
    6868template<typename KeyArg, typename MappedArg, typename = typename DefaultHash<KeyArg>::Hash, typename = HashTraits<KeyArg>, typename = HashTraits<MappedArg>> class HashMap;
    6969template<typename ValueArg, typename = typename DefaultHash<ValueArg>::Hash, typename = HashTraits<ValueArg>> class HashSet;
     70
     71template<size_t, typename> struct variant_alternative;
     72template<ptrdiff_t, typename...> struct __indexed_type;
     73template<ptrdiff_t _Index, typename... _Types> constexpr typename __indexed_type<_Index, _Types...>::__type const& get(Variant<_Types...> const&);
    7074
    7175}
Note: See TracChangeset for help on using the changeset viewer.