shindavid / AlphaZeroArcade

6 stars 1 forks source link

Downgrade gcc #66

Closed shindavid closed 1 year ago

shindavid commented 1 year ago

Note: this pull request is NOT complete. The LRUCache data structure needs to be specialized when using sharedptr values to use `std::atomic*instead ofoperator=` and similar.

shindavid commented 1 year ago

Or actually, maybe instead of touching LRUCache, I can create a wrapper around std::shared_ptr that has copy constructor and operator= overrides that dispatch to std::atomic_*().

shindavid commented 1 year ago

Downgrade no longer necessary, thanks to work by @xorvoid