What is the comlexity "|" (OR operation ) between two c++ bitset?

Правка en1, от _Muhammad, 2018-07-15 03:45:13
bitset < n > b1, b2;
b1 |= b2;

Is the complexity of above code O(n)? Or it works in O(1).

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский _Muhammad 2018-07-15 03:45:13 175 Initial revision (published)