Is there a container facade in Boost?
I'm learning how to use iterator_facade to hide some boilerplate of iterator implementation. In my current use case I'm wrapping another container (from .NET code, actually) so I need the begin(), end(), typedefs, etc. At a minimum I want the resulting type to work with BOOST_FOREACH. Is there a convenient thing in boost to simplify that?
我会从Boost.Range库中的一个boost::iterator_range
包装一对来自给定容器的boost::iterator_range
。
上一篇: 目录权限观察者在C#
下一篇: Boost中是否有容器外观?