Silk.NETS
Silk.NET2y ago
3 replies
Perksey

@Curin I've just noticed these operators

@Curin I've just noticed these operators:
        public static implicit operator Ptr3D(void* ptr) => new((void***)ptr);
        public static implicit operator Ptr3D(void** ptr) => new((void***)ptr);

this could be a bit prone to misuse. do you remember why they were originally added?
Was this page helpful?