Namespaces
Variants
Views
Actions

Difference between revisions of "Talk:cpp/iterator/rbegin"

From cppreference.com
(Shouldn't it be c.rebegin(): new section)
m (fixed typo)
Line 12: Line 12:
 
::Yeah, it's not the best feature. I'll try to carve out some time to update the search list this weekend.--[[User:Nate|Nate]] ([[User talk:Nate|talk]]) 14:46, 10 July 2015 (PDT)
 
::Yeah, it's not the best feature. I'll try to carve out some time to update the search list this weekend.--[[User:Nate|Nate]] ([[User talk:Nate|talk]]) 14:46, 10 July 2015 (PDT)
  
== Shouldn't it be c.rebegin() ==
+
== Shouldn't it be c.rbegin()? ==
  
 
The description for 1,2 seems incorrect.  Shouldn't it be c.rbegin()?
 
The description for 1,2 seems incorrect.  Shouldn't it be c.rbegin()?

Revision as of 08:41, 1 November 2024

It’s hard to find std::crend (or std::crbegin) by searching for it.

If one uses this site’s search function, this page is not mentioned in the results; I presume this is because the page title doesn’t include that name. It’s also not easy to find it using Google, although it’s the second result for the query <std::crend site:cppreference.com>, the page being called only rend there, too, so one could easily dismiss it as irrelevant.

This was discovered in ##C++ on Freenode.

I wasn’t sure how to fix it myself, so I decided to leave this remark instead. One way I’ve come up with would be to split this page into two, one for rend and one for crend (to do the same for std::crbegin), but I don’t know whether the increased maintenance overhead would be welcome, for instance; there might be better solutions.

Thanks to everyone trying to fix it :) Rosenberg 79.254.125.13 10:49, 10 July 2015 (PDT)

I added crbegin/crend to the page titles. For cppreference's search box, it's dependent on an index that will take an admin to update. (Personally, I find that quite annoying sometimes, and wish there were a way to use the built-in MediaWiki search.) T. Canens (talk) 13:12, 10 July 2015 (PDT)
Yeah, it's not the best feature. I'll try to carve out some time to update the search list this weekend.--Nate (talk) 14:46, 10 July 2015 (PDT)

Shouldn't it be c.rbegin()?

The description for 1,2 seems incorrect. Shouldn't it be c.rbegin()?

1,2) Returns c.begin(), which is typically an iterator to the beginning of the sequence represented by c.

I'll make the change. Please correct as necessary.