Click here to Skip to main content
15,125,104 members

Comments by MaheshPeddi (Top 6 by date)

MaheshPeddi 18-Oct-10 10:28am View
   
I am sorry its not virtual destructor its virtual constructor!!
MaheshPeddi 18-Oct-10 10:28am View
   
I am sorry its not virtual destructor its virtual constructor!!
MaheshPeddi 18-Oct-10 10:28am View
   
I am sorry its not virtual destructor its virtual constructor!!
MaheshPeddi 13-Oct-10 5:28am View
   
I am migrating Java code to C++ in one of the class they are using member variable as Map<string,object>and I think he may store other class objects in that map.
MaheshPeddi 13-Oct-10 4:48am View
   
I have a Java Class consists of Map<string, object=""> where the key is string & Object is value!. Here Object can store any kind of variables either system defined or user defined . Now i want to migrate the same in C++. Below is the code snippet in Java.
public class GNode implements Serializable
{
private Map<string, object=""> GObj;
}
MaheshPeddi 7-Oct-10 10:01am View
   
Deleted
There is no problem with return type!!
Even I have tried with b
template<class t="">
list<test<t> > Test<t>::Myshow() //This is NOT giving error
{
list<test> obj;
return obj;
}