[libcxx-commits] [PATCH] D123851: [libc++] Change vector<bool>::const_iterator::reference to bool in ABIv2

Mikhail Maltsev via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 25 05:09:30 PDT 2022


miyuki added inline comments.


================
Comment at: libcxx/include/__bit_reference:1115
+#else
+    using reference = typename conditional<_IsConst, bool, __bit_reference<_Cp>>::type;
+#endif
----------------
Hi. This line causes breakages when compiling with `-std=c++03`:

```
/include/libcxx/__bit_reference:1115:79: error: a space is required between consecutive right angle brackets (use '> >')
    using reference = typename conditional<_IsConst, bool, __bit_reference<_Cp>>::type;

                                                                                 ^
```

Could you please fix this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123851/new/

https://reviews.llvm.org/D123851



More information about the libcxx-commits mailing list