Update safestl.h

This commit is contained in:
blueloveTH 2023-02-10 02:33:18 +08:00
parent 7c270a49e3
commit 8b368904f4

View File

@ -135,10 +135,8 @@ namespace pkpy {
~Args(){ _free(); } ~Args(){ _free(); }
}; };
const Args& no_arg(){ static const Args _zero(0);
static const Args ret(0); inline const Args& no_arg() { return _zero; }
return ret;
}
template<typename T> template<typename T>
Args one_arg(T&& a) { Args one_arg(T&& a) {