mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Proper constraint for alloctype(T) : delete
This commit is contained in:
parent
f10f389400
commit
c7ff2ea3f4
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
struct AllocWrapper<T> where T : new, delete
|
||||
struct AllocWrapper<T> where T : new where alloctype(T) : delete
|
||||
{
|
||||
alloctype(T) mVal;
|
||||
public alloctype(T) Val
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue