Amanieu / intrusive-rs

Intrusive collections for Rust
Apache License 2.0
412 stars 48 forks source link

Make intrusive_adapter to accept pointy brackets #5

Closed WaDelma closed 7 years ago

WaDelma commented 7 years ago

It is possible to make intrusive_adaptor to accept pointy brackets instead of square brackets by incrementally munching token trees (I have done this in this macro and in this monstrosity of a macro that has now been replaced by custom derive based implementation).

I'll give it a try once my work ends :P