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++ Python Linux RGBD Slam Computer Vision ROS2 Hands-on ROS Docker Build Systems CUDA Electronics Hands-On ROS1 Web Devel FRIENDS Cheng Wei Jerry Zhao Sebastian Castro Jon Meyer Sik-Ho Tsang 技术刘 Brandon Rohrer 箐茗 Solomon Amos DaNing Rodney Brooks