Skip to content
Snippets Groups Projects
Commit 3bd85a60 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

ENH: UIndirectList: added stl typedefs

parent ee431863
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -128,6 +128,21 @@ public:
//- Type of values the UList contains.
typedef T value_type;
//- Type that can be used for storing into
// UList::value_type objects.
typedef T& reference;
//- Type that can be used for storing into
// constant UList::value_type objects
typedef const T& const_reference;
//- The type that can represent the difference between any two
// UList iterator objects.
typedef label difference_type;
//- The type that can represent the size of a UList.
typedef label size_type;
// Ostream operator
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment