std::vector<bool>::flip
STD::向量<bool>*翻转
Defined in header | | |
---|---|---|
void flip( | | |
切换每个bool
在向量%28中,用其相反的值%29替换。
参数
%280%29
返回值
%280%29
另见
operator[] | access specified element (public member function of std::vector) |
---|---|
flip | toggles the values of bits (public member function of std::bitset) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。