Skip to content
Snippets Groups Projects
Commit f8870879 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

STYLE: provide labelPair typedef (a common type) within Pair.H itself

parent 26a65330
Branches
Tags
No related merge requests found
......@@ -50,6 +50,13 @@ See also
namespace Foam
{
// Forward declarations
template<class T> class Pair;
// Common pair types
typedef Pair<label> labelPair; //!< A pair of labels
/*---------------------------------------------------------------------------*\
Class Pair Declaration
\*---------------------------------------------------------------------------*/
......@@ -163,7 +170,6 @@ public:
return seed;
}
};
};
......
......@@ -23,12 +23,6 @@ License
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Typedef
Foam::labelPair
Description
A pair of labels.
Typedef
Foam::labelPairPair
......@@ -66,7 +60,6 @@ Description
namespace Foam
{
typedef Pair<label> labelPair;
typedef Pair<labelPair> labelPairPair;
typedef List<labelPair> labelPairList;
typedef UList<labelPair> labelPairUList;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment