Код: Выделить всё
template
constexpr auto foo (Args&&... args) noexcept {
...
}
Код: Выделить всё
class X {
public:
using myFoo = int (foo)(int,int,int)
X() {
// I would like to have something like that
call();
}
template
auto call () {
return op(1,2,3);
}
};
Подробнее здесь: https://stackoverflow.com/questions/791 ... s-as-alias