Files @ 58db5f6bf2b1
Branch filter:

Location: tempo-plotter/utils.h

Hasan Yavuz Özderya
initial commit, port selection, open/close is working, received data is written to stdout
1
2
3
4
5
6
7
8

// credits: peppe@stackoverflow [http://stackoverflow.com/a/16795664/432492]
template<typename... Args> struct SELECT {
    template<typename C, typename R>
    static constexpr auto OVERLOAD_OF( R (C::*pmf)(Args...) ) -> decltype(pmf) {
        return pmf;
    }
};