Блог пользователя ouuan

Автор ouuan, история, 7 лет назад, По-английски

Today I was solving a problem with bitset which needs to find the first set bit (bit with value 1/true). I looked up in C++ Reference but was not able to find a proper function.

Some one else told me that ._Find_first() works (also mentioned in this blog), which is not documented.

I was curious about if there are more undocumented member functions, so I took a look at the source code and found this:

I think the last question is so funny lol

  • Проголосовать: нравится
  • +155
  • Проголосовать: не нравится

»
7 лет назад, скрыть # |
 
Проголосовать: нравится +51 Проголосовать: не нравится

It is reference to this

»
7 лет назад, скрыть # |
 
Проголосовать: нравится +28 Проголосовать: не нравится