Add debug_print for buffer_vector.

This commit is contained in:
vng 2011-02-05 01:28:23 +02:00 committed by Alex Zolotarev
parent f0b2633d2f
commit f4912829f1

View file

@ -140,3 +140,9 @@ public:
template <class T, size_t N>
void swap(buffer_vector<T, N> & r1, buffer_vector<T, N> & r2) { r1.swap(r2); }
template <typename T, size_t N>
inline string debug_print(buffer_vector<T, N> const & v)
{
return ::my::impl::DebugPrintSequence(v.data(), v.data() + v.size());
}