mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 08:12:12 +00:00
Stop relying on mapped_iterator's function having a result_type. That facility
is deprecated in modern C++ and unnecessary since decltype can be used to query the relevant type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2080172098
commit
e4010bf95b
@ -117,7 +117,9 @@ public:
|
||||
iterator_category;
|
||||
typedef typename std::iterator_traits<RootIt>::difference_type
|
||||
difference_type;
|
||||
typedef typename UnaryFunc::result_type value_type;
|
||||
typedef typename std::result_of<
|
||||
UnaryFunc(decltype(*std::declval<RootIt>()))>
|
||||
::type value_type;
|
||||
|
||||
typedef void pointer;
|
||||
//typedef typename UnaryFunc::result_type *pointer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user