MCPcopy Create free account
hub / github.com/FreeFem/FreeFem-sources / WithOutCast

Method WithOutCast

src/fflib/AFunction2.cpp:564–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562 }
563
564bool ArrayOfaType::WithOutCast( const ArrayOfaType & a) const
565 {
566 if ( ( !ellipse && (a.n != n)) || (ellipse && n > a.n) ) return false;
567 for (int i=0;i<n;i++)
568 if (! a.t[i]->SametypeRight(t[i]))
569 return false;
570 return true;
571 }
572
573
574bool ArrayOfaType::WithCast( const ArrayOfaType & a,int nbcast) const

Callers 3

FindWithOutCastMethod · 0.80
FindSameRMethod · 0.80
ShowMethod · 0.80

Calls 1

SametypeRightMethod · 0.80

Tested by

no test coverage detected