tmp, autoPtr: Provide a typedef 'Type' to the stored type
This commit is contained in:
@ -58,6 +58,9 @@ class autoPtr
|
||||
|
||||
public:
|
||||
|
||||
typedef T Type;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Store object pointer
|
||||
|
||||
@ -77,6 +77,7 @@ class tmp
|
||||
|
||||
public:
|
||||
|
||||
typedef T Type;
|
||||
typedef Foam::refCount refCount;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user