Basic Bitwise operations Setting a specific bit to 1. 1 2 uchar desc_byte = 0; desc_byte |= (1 << NUM); Previous C++ - Erase Remove Next C++ - Operators CATALOG FEATURED TAGS Math Deep Learning Robotics C++ Linux ROS2 Python SLAM Computer Vision ROS Docker RGBD Slam Electronics Hands-on CUDA Machine-Learning Build Systems Control Systems Hands-On Oil and Gas ROS1 Web Devel FRIENDS Cheng Wei Jerry Zhao Sebastian Castro Jon Meyer Sik-Ho Tsang 技术刘 Brandon Rohrer 箐茗 Solomon Amos DaNing Rodney Brooks