From 711b2cd8b827e7f25986c12c3b6964622f4e89a4 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 16 May 2000 10:59:09 +0000 Subject: [PATCH] Add standard container typedefs. git-svn-id: https://svn.dealii.org/trunk@2867 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/block_vector.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/deal.II/lac/include/lac/block_vector.h b/deal.II/lac/include/lac/block_vector.h index 0e8ac00a1c..a944da4380 100644 --- a/deal.II/lac/include/lac/block_vector.h +++ b/deal.II/lac/include/lac/block_vector.h @@ -49,6 +49,25 @@ template class BlockVector { public: + /** + * Declare standard types used in + * all containers. These types + * parallel those in the #C++# + * standard libraries + * #vector<...># class. The + * #iterator# types are not + * declared at present, since + * there are no iterators + * implemented that cycle through + * the individual sub-vectors. + */ + typedef Number value_type; + typedef value_type* pointer; + typedef const value_type* const_pointer; + typedef value_type& reference; + typedef const value_type& const_reference; + typedef size_t size_type; + /** * Dummy-Constructor. Dimension=0 */ -- 2.39.5