What is an adaptor class in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is a mutex and a critical section.Whats difference between them?How do each of them work?
Where the memory to the static variables is allocated?
Write about the retrieval of n number of objects during the process of delete[]p?
write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement
What is the use of turbo c++?
What is the use of setprecision in c++?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
What is a type library?
i want the NIC programmer-B model papaer pattren, iwant the all model papers?
What do you mean by translation unit in c++?
template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }