[Seqan-dev] bugfix: missing metafunction in misc_dequeue.h


Hi,

it seems that seqan/misc/misc_dequeue.h does currently not have the
functionality to report the type of its values (missing metafunction). I
didn't check whether this may also explain some of the bugs in the
bug-tracker related to the dequeue template.
Anyway, attached is a fix for this one.

Cheers,
Fabian

-- 
Fabian A. Buske
Institute for Molecular Bioscience
The University of Queensland Brisbane, Qld. 4072 Australia
Phone: (61)-(7)-334-62608 	

Index: misc_dequeue.h
===================================================================
--- misc_dequeue.h	(revision 10040)
+++ misc_dequeue.h	(working copy)
@@ -108,6 +108,11 @@
 	typedef Iter<Dequeue<TValue, TSpec> const, PositionIterator> Type;
 };
 
+template <typename TValue, typename TSpec>
+struct Value<Dequeue<TValue, TSpec> >
+{
+	typedef TValue Type;
+};
 
 //////////////////////////////////////////////////////////////////////////////