+ SMESH_Comment & operator=(const SMESH_Comment& c) {

+    _s << c.c_str() ;
+    this->string::operator=( _s.str() );
+    return *this;
+  }
+
This commit is contained in:
eap 2010-02-24 12:44:11 +00:00
parent a34eac9276
commit 039a4f4346

View File

@ -50,6 +50,12 @@ public :
this->string::operator=( _s.str() ); this->string::operator=( _s.str() );
} }
SMESH_Comment & operator=(const SMESH_Comment& c) {
_s << c.c_str() ;
this->string::operator=( _s.str() );
return *this;
}
template <class T> template <class T>
SMESH_Comment( const T &anything ) { SMESH_Comment( const T &anything ) {
_s << anything ; _s << anything ;