BIT SHIFT MY ROBOT

random things I made and things I learnt making them

  • Embedded Linux
  • Digital Signal Processing
  • Audio
  • Programming
  • Resume

Month: March 2022

C++ Template argument deduction vs specialization

Posted on 11th March 202212th March 2022 by bitshiftjo1

If you don’t know the type at compile time you can just use the template parameter type and the compiler will deduce the type from the function call itself. For example, see the commented out c’tor below. This is great for typing the size of std::array function parameter. However you could come unstuck if a…

Read the full article

Instagram
Github

Archives

  • June 2025
  • November 2024
  • October 2024
  • September 2024
  • June 2023
  • January 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • March 2022
  • December 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • January 2021
  • November 2020
  • October 2020
  • September 2020
  • June 2020
  • January 2019
  • December 2018
  • September 2018
  • August 2018
  • June 2018

Categories

  • ARM
  • Audio
  • C
  • C++
  • Calculus
  • Containers
  • Digital Signal Processing
  • Eclipse
  • Electronic Design
  • Embedded
  • Embedded Linux
  • End of Year Lists
  • FreeRTOS
  • FTDI
  • Git
  • IMX6
  • jlink
  • Linux
  • Microcontrollers
  • Microprocessors
  • nrF52
  • Python
  • Resume
  • Security
  • STM32
  • STM32MP1
  • TI AM335x
  • Troubleshooting
  • udev
  • X
  • Xilinx Ultrascale
  • Yocto
  • Zephyr
Theme: Scaffold by Danny Cooper.