llvm.org GIT mirror llvm / e2f333b
[SmallVector] Reinstate the typedefs. They're unused with recent versions of libstdc++ but older ones (e.g. libstdc++ 4.9 still requires them). Maybe we should bump the requirements on the minimum version to make GCC 7 happy, but in the meanwhile we need to live with the warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305158 91177308-0d34-0410-b5e6-96231b3b80d8 Davide Italiano 2 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
445445 struct output_iterator {
446446 typedef std::output_iterator_tag iterator_category;
447447 typedef int value_type;
448 typedef int difference_type;
449 typedef value_type *pointer;
450 typedef value_type &reference;
448451 operator int() { return 2; }
449452 operator Constructable() { return 7; }
450453 };