On Tue, 15 Jul 2003, Serassio Guido wrote:
> MSVC seems don't like constructs like this:
>
> template <class MatchType>
> MemPool (*ACLStrategised<MatchType>::Pool)(NULL);
You could try using typedefs, like
typedef MemPool * pointer_to_MemPool;
pointer_to_MemPool ACLStrategised<MatchType>::Pool(NULL);
or
typedef class ACLStrategised<MatchType> ACLStrategised_MatchType;
MemPool *ACLStrategised_MatchType::Pool(NULL);
Alternatively, would MSVC be happier with references instead of
pointers? (This whould need changes elsewhere, of course.)
MemPool & ACLStrategised<MatchType>::Pool (NULL);
You might also need extra parentheses in all the above.
--apb (Alan Barrett)
Received on Wed Jul 16 2003 - 02:02:26 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:17 MST