Converting custom iterator to std::list::iterator gives issue
I have a list derived from std::list and the iterators are derived from std::list::iterator and std::list::const_iterator. I know deriving STL containers is not a recommended method. But I dont have an choice.
Operator access overloading with unordered_map and custom classes
I want to learn C++ templates and metaprogramming.
For this aim, I created two classes, BClass and JClass, and the aim is to work with standard containers using the same or similar operators or functions (e.g. insert, operator[], …).
However I get into important compiler errors.