#include <iostream>
#include <type_traits>

template<class T>
void wiegross(T&&) {
    typedef typename std::remove_reference<T&&>::type Tnoref;
    std::cout << sizeof(Tnoref) << std::endl;
}

int main() {
    int i = 23;
    double d = 42;
    int* p = &i;
    wiegross([&]{return *p*i+d;});
}
