Информация об изменениях

Сообщение развернуть вариадик от 01.12.2015 13:54

Изменено 01.12.2015 13:56 Logot

привет, не въеду, как его развернуть
template<typename return_type, typename ... args>
struct sig_wrap
{
    typedef bs2::signal_type<return_type (args...)>::type signal_t;
};

error C2146: syntax error : missing ';' before identifier 'signal_t'
error C4430: missing type specifier — int assumed. Note: C++ does not support default-int


как?
привет, не въеду, как его развернуть
template<typename return_type, typename ... args>
struct sig_wrap
{
    typedef bs2::signal_type<return_type (args...)>::type signal_t;
};

error C2146: syntax error : missing ';' before identifier 'signal_t'
error C4430: missing type specifier — int assumed. Note: C++ does not support default-int


как?

VS 2013