mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
int to MyStr
This commit is contained in:
parent
edf7861ee3
commit
b151c9d7da
@ -113,7 +113,7 @@ MyStr::MyStr(int i)
|
||||
str = shortstr;
|
||||
strcpy(str, buffer);
|
||||
}
|
||||
|
||||
/*
|
||||
MyStr::MyStr(unsigned int i)
|
||||
{
|
||||
char buffer[32];
|
||||
@ -125,7 +125,7 @@ MyStr::MyStr(unsigned int i)
|
||||
str = shortstr;
|
||||
strcpy(str, buffer);
|
||||
}
|
||||
|
||||
*/
|
||||
MyStr::MyStr(void * p)
|
||||
{
|
||||
char buffer[32];
|
||||
@ -138,7 +138,7 @@ MyStr::MyStr(void * p)
|
||||
strcpy(str, buffer);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
MyStr::MyStr(long l)
|
||||
{
|
||||
char buffer[32];
|
||||
@ -150,8 +150,9 @@ MyStr::MyStr(long l)
|
||||
str = shortstr;
|
||||
strcpy(str, buffer);
|
||||
}
|
||||
*/
|
||||
|
||||
MyStr::MyStr(unsigned long l)
|
||||
MyStr::MyStr(size_t l)
|
||||
{
|
||||
char buffer[32];
|
||||
sprintf(buffer, "%ld", l);
|
||||
|
@ -50,10 +50,10 @@ public:
|
||||
MyStr(char);
|
||||
MyStr(const MyStr &);
|
||||
MyStr(int);
|
||||
MyStr(unsigned);
|
||||
MyStr(size_t);
|
||||
MyStr(void *);
|
||||
MyStr(long);
|
||||
MyStr(unsigned long);
|
||||
// MyStr(long);
|
||||
// MyStr(unsigned long);
|
||||
MyStr(double);
|
||||
MyStr(const Point3d& p);
|
||||
MyStr(const Vec3d& p);
|
||||
|
Loading…
Reference in New Issue
Block a user