HI i would I write a generic function as template parameter that accepts any kind of boost pointers containers library.
like for example.
template <typename T,
template <typename ELEM, typename = std::allocator<ELEM> >
class CONT
>
extern typename boost::enable_if<boost::mpl::or_<boost::is_integral<T>, boost::is_convertible<T, unsigned long> >, CONT<T> >::type
str_to_numlist(const std::string&, const T&);
accept any vector, list, deque.. i want to replace vector list, deque with ptr_vector, ptr_list, ptr_deque.. etc.