Opened 2 months ago

#959 new discussion

utility::Dereferencer doesn't work with smart pointers

Reported by: Peter Owned by: Jari Häkkinen
Priority: minor Milestone: yat 0.x+
Component: utility Version: 0.17.2
Keywords: Cc:


Dereference<std::shared_ptr<T>> does not work. This is line with the docs, which says that Pointer is supposed to be a raw pointer or a trivial iterator.

Any reason for not allowing smart pointers?

It might be that this class and e.g. all the compose_f... classes are outdated and not useful when having c++11 lambdas.

Change History (0)

Note: See TracTickets for help on using tickets.