Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by pifs

  1. pifs

    Transactions in Tuxedo ATMI

    Hello, I am having the following problem while running my C++ ATMI Tuxedo client application: When I call "tpcall()" in this way: tpcall((char*)svc_name, (char*)buf, 0, (char**)&o_buf, &o_len, 0) It returns me the following error + message: TPESVCERR - server error while handling request The...
  2. pifs

    Templates (segmentation fault)

    More details on the code (with some corrections): // class A declaration class A { virtual void do_one_something() = 0; }; // class Atemplate declaration template<class T> class Atemplate:public A { public: void do_one_somenthing(); //implementation is provided...
  3. pifs

    Templates (segmentation fault)

    About downcasting: I must confess that I never saw these terms: up- or downcasting. It seems to me, that in a class hierarchy, one normally represents derived classes as being below base classes. Anyway, this is not the issue. The attribute &quot;T* itsXX&quot; has been set in another part of...
  4. pifs

    Templates (segmentation fault)

    Well, first of all, I am downcasting from a base class A to a template class A<W>. The reason to use this approach is because I am trying to develop a sort of API that has to handle implementatation specific types. The class templates are exposed to the API user and he will generate appropriate...
  5. pifs

    Templates (segmentation fault)

    Hi all, consider the following problem: // class A declaration class A { virtual void do_one_something() = 0; }; // class Atemplate declaration template<class T> class Atemplate:public A { public: void do_one_somenthing(); //implementation is provided...
  6. pifs

    Gcc templates instantiation

    Hello, I've have defined some templates in a .h file and implemented some of the declared functions in a separate .cpp file. The problem is that the linker recognizes all those functions implemented in the .h files (i.e. inline functions), but does not recognize the ones in the .cpp files...

Part and Inventory Search

Back
Top