Skip to content

Instantly share code, notes, and snippets.

View Pibben's full-sized avatar

Per Zetterlund Pibben

View GitHub Profile
#include <functional>
#include <string>
#include <tuple>
#include <array>
template <class T>
T parseHelper(const std::string& str) { return T(5); }
template<class... Args, size_t... I>
void parse2(std::tuple<Args...>& tuple, const std::array<std::string, sizeof...(Args)>& data, std::index_sequence<I...>) {

RetroMediaPc

Name Cores Freq TDP Speed Gen
Celeron J1900 4/4 2.0 - 2.42 10W 19.8 Bay Trail
i3-4010Y 2/4 1.3 11.5W Haswell-ULX
i5-4200Y 2/4 1.4 - 1.9 11.5W Haswell-ULX
Celeron 3205U 2 1.5 15W 19.6 Broadwell-U
Pentium 3805U 2 1.9 15W 24.7 Broadwell-U
Celeron N3150 4 1.6 - 2.08 6W 17.1 Braswell
#include <functional>
#include <string>
#include <tuple>
#include <array>
struct Thread {
struct InternalBase {
virtual void call() = 0;
};