Can safety be guaranteed when storing 2 copies of a raw pointer created with Box::into_raw() in rust?

前端 未结 0 1713
盖世英雄少女心
盖世英雄少女心 2021-01-04 05:01

I\'d like to implement a data structure that stores values in 2 different orders.

Values are inserted once (in both orders) and cannot be removed without dropping the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题