Reference CPU: Multicore AVX 2 capable
Lets' start:
- Compiler / compile units / linker.
- Setup makefile
- Imperative algorithm
- Understand our processor
- bit/byte/word/dword/qword
Reference CPU: Multicore AVX 2 capable
#pragma once | |
#include <type_traits> | |
#include <functional> | |
#include "function_traits.hpp" | |
template<typename T> | |
struct ViewTraits | |
{ | |
typedef decltype(std::declval<T>().read()) ViewValue_t; |
class UsbLampManager : public LampManager | |
{ | |
bool switch_lamp(bool turn_on) override; | |
}; | |
class BluetoothLampManager : public LampManager | |
{ | |
bool switch_lamp(bool turn_on) override; | |
}; |