linksplatform / Interfaces

LinksPlatform's Platform.Interfaces Class Library
https://linksplatform.github.io/Interfaces
The Unlicense
3 stars 2 forks source link

Add readonly[const] model to each collection's concepts #78

Open uselessgoddess opened 3 years ago

uselessgoddess commented 3 years ago

https://github.com/linksplatform/Interfaces/blob/6c1408ecfb63e1e29059e0807630ef44b7d1b99c/cpp/Platform.Interfaces/IDictionary.h#L8 This is what a small hack looks like You need to define readonly models that use only const methods

Konard commented 3 years ago

Why do you need to remove const_t from type?

uselessgoddess commented 3 years ago

This is a temporary solution. It excludes readonly collections

uselessgoddess commented 3 years ago

It need replace