boundaryMesh().mesh().objectRegistry::template?
-
在fvPatchFvMeshTemplates.C 中发现一个很怪异的函数调用,
boundaryMesh().mesh().objectRegistry::template
找了半天没找到代码定义在哪里,请教各位大佬指点。具体代码如下:
30 template<class GeometricField, class Type> 31 const typename GeometricField::Patch& Foam::fvPatch::lookupPatchField 32 ( 33 const word& name, 34 const GeometricField*, 35 const Type* 36 ) const 37 { 38 return patchField<GeometricField, Type> 39 ( 40 boundaryMesh().mesh().objectRegistry::template 41 lookupObject<GeometricField>(name) 42 ); 43 }