mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-23 04:50:17 +00:00
Update safestl.h
This commit is contained in:
parent
7c270a49e3
commit
8b368904f4
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user