Original Post
I hava defined my container like this: the problem is that the tutorial and the examples that the boost library provides havn't answerd how would i go about deleting a shared_ptr from the container and what would be the best way of searching and retrieving a shared_ptr from the container.
struct name{};
typedef multi_index_container<
shared_ptr<Texture2D>,
indexed_by<
hashed_unique<
tag<name>,
BOOST_MULTI_INDEX_CONST_MEM_FUN( Texture2D ,std::string, getName)
>
>
> TextureContainer;