--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To post to this group, send email to c...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAAHOzFA%3D7qttYpNPowH9sWSPi_jcBM1bR3QczHxdt977eKDNbw%40mail.gmail.com.
I believe that non-member cbegin/cend were introduced in C++14.
--PK
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To post to this group, send email to c...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAAHOzFCska8Pa5i4smnJTSGLL-exz9r3QiwVKtXMgz0bt2XOLQ%40mail.gmail.com.
On Wed, Feb 3, 2016 at 2:58 PM, 'Peter Kasting' via cxx <c...@chromium.org> wrote:On Wed, Feb 3, 2016 at 10:54 AM, Vladimir Levin <vmp...@google.com> wrote:I believe that non-member cbegin/cend were introduced in C++14.I think you're right. I tried to check this before sending my mail but I misread the table of versions.We probably don't want to allow this, then, and we probably also want to remove it from the table of C++11 features to discuss since it's not a C++11 feature. Any comments on that plan?Ya, let's not keep C++14 things in that list.
On Wed, Feb 3, 2016 at 2:59 PM, Dana Jansens <dan...@chromium.org> wrote:On Wed, Feb 3, 2016 at 2:58 PM, 'Peter Kasting' via cxx <c...@chromium.org> wrote:On Wed, Feb 3, 2016 at 10:54 AM, Vladimir Levin <vmp...@google.com> wrote:I believe that non-member cbegin/cend were introduced in C++14.I think you're right. I tried to check this before sending my mail but I misread the table of versions.We probably don't want to allow this, then, and we probably also want to remove it from the table of C++11 features to discuss since it's not a C++11 feature. Any comments on that plan?Ya, let's not keep C++14 things in that list.The list of features to discussed has "Constant Iterator Methods on Containers". I read that as something like std::vector<T>::cbegin, which _was_ introduced in C++11.
On Wed, Feb 3, 2016 at 3:46 PM, Vladimir Levin <vmp...@google.com> wrote:On Wed, Feb 3, 2016 at 2:59 PM, Dana Jansens <dan...@chromium.org> wrote:On Wed, Feb 3, 2016 at 2:58 PM, 'Peter Kasting' via cxx <c...@chromium.org> wrote:On Wed, Feb 3, 2016 at 10:54 AM, Vladimir Levin <vmp...@google.com> wrote:I believe that non-member cbegin/cend were introduced in C++14.I think you're right. I tried to check this before sending my mail but I misread the table of versions.We probably don't want to allow this, then, and we probably also want to remove it from the table of C++11 features to discuss since it's not a C++11 feature. Any comments on that plan?Ya, let's not keep C++14 things in that list.The list of features to discussed has "Constant Iterator Methods on Containers". I read that as something like std::vector<T>::cbegin, which _was_ introduced in C++11.Good point. Well, let's clarify things. https://codereview.chromium.org/1669683002/