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(); }
};
const Args& no_arg(){
static const Args ret(0);
return ret;
}
static const Args _zero(0);
inline const Args& no_arg() { return _zero; }
template<typename T>
Args one_arg(T&& a) {