andreiavrammsd / cpp-channel

Thread-safe container for sharing data between threads
https://blog.andreiavram.ro/cpp-channel-thread-safe-container-share-data-threads/
MIT License
400 stars 28 forks source link

Iterator only usable with default constructible class #36

Closed schaumb closed 1 year ago

schaumb commented 1 year ago

This line will fail if the type of the class is not default constructible.

It is a limitation which not mentioned in the readme.

andreiavrammsd commented 1 year ago

Thanks! I added it to the readme.