Skip to content

Well Now We Know

Hard Earned Knowledge

Month: October 2020

TIL you can bitshift in place in C++

For example,

for (size_t i=0; i<nSize/2; i++) {
data_[i]<<=4;
}

Author davePosted on October 12, 2020Leave a comment on TIL you can bitshift in place in C++

Recent Posts

  • TIL you can bitshift in place in C++
  • Folding@Home with GPU support on Ubuntu 18.04 (mar 2020)
  • How to Set Terminal Titles in Ubuntu 16+
  • How to NTP a Raspberry Pi 4 via GPS and PPS
  • ROS Melodic on Raspberry Pi 4 (Dec 2019)

Recent Comments

    Archives

    • October 2020
    • March 2020
    • February 2020
    • December 2019

    Categories

    • Uncategorized

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    Well Now We Know Proudly powered by WordPress