Back to index

salome-smesh  6.5.0
Functions
SMESHUtils Namespace Reference

Functions

template<class TVECTOR >
void FreeVector (TVECTOR &vec)
 Enforce freeing memory allocated by std::vector.

Function Documentation

template<class TVECTOR >
void SMESHUtils::FreeVector ( TVECTOR &  vec)

Enforce freeing memory allocated by std::vector.

Definition at line 58 of file SMESH_TypeDefs.hxx.

  {
    TVECTOR v2;
    vec.swap( v2 );
  }