First  |  Prev |  Next  |  Last
Pages: 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
Bug in g++ ostringstream implementation ???
Rune Allnor wrote: On 29 Jan, 22:02, Brian Neal <bgn...(a)gmail.com> wrote: On Jan 29, 8:50 am, Rune Allnor <all...(a)tele.ntnu.no> wrote: On 28 Jan, 20:55, Brian Neal <bgn...(a)gmail.com> wrote: On Jan 25, 11:53 am, Carlos Moreno <cm_n...(a)mailinator.com> wrote: I'm having a h... 1 Feb 2008 00:44
return type of operator "cout"
On Wed, 30 Jan 2008 06:16:33 CST, Raman wrote: Hi All, Could you please tell me what is the return type of "cout"? Functions have return types; "cout" is a std::ostream object, not a function. -- Dave Seaman Oral Arguments in Mumia Abu-Jamal Case heard May 17 U.S. Court of Appeals, Third Circui... 1 Feb 2008 00:44
Is comp.std.c++ still operable ?
I have not seen any new messages in comp.std.c++ in over 3 weeks. Is it still in operation or has it been disbanded ? Perhaps the moderators are away on some C++ standard committe meeting and are not moderating any posts. Or perhaps, much more unlikely, no one has anything to say about the C++ standard there anymor... 1 Feb 2008 00:44
stream bits: two different implementations, which is correct?
johnehein(a)gmail.com wrote: #include <iostream> #include <sstream> using namespace std; static void pbits(const stringstream & ss) { cerr << "bad: " << ss.bad() << ".\n"; cerr << "eof: " << ss.eof() << ".\n"; cerr << "fail: " << ss.fail() << ".\n"; cerr << "good: "... 1 Feb 2008 00:44
automatic conversion
hi, The code below fails to compile with my g++ 4.1.1: class Base { public: virtual ~Base () = 0; }; Base::~Base () {} class Derived : public Base { public: virtual ~Derived () {} }; void Do (const Base &base) {} class A { public: operator Derived () const {return Derived ();} }; ... 1 Feb 2008 00:44
Fortran I/O design problem
Niek Sanders wrote: Problem: (1) I have to interact with a fortran code who's input and output format changes subtly with each new version release. Is the fortran code the I/O library for your code? Does your code handle the I/O for the fortran program? Or do you need to parse some d... 28 Jan 2008 03:45
unresolved function arguments with required typename
Gary Kedziora wrote: // this doesn't work template<class T> T fun ( typename outer<T>::inner &c ) { return c.get(); } // this works //int fun ( outer<int>::inner &c ) // { return c.get(); } int main() { outer<int>::inner I; I.set(3); int flop = fun(I); ... 27 Jan 2008 06:37
class declaration within friend function declaration
wasosa(a)sbcglobal.net wrote: Consider the following code: class A { friend class B& foo(class B&, A&); }; Now consider the slightly different class A { friend class B& foo(B&, A&); }; My question is, are both of these valid c++ code? Specifically, do we still... 26 Jan 2008 14:31
insufficient contextual information
I'm trying to create an array of "generic" function pointers, but I can't seem to make the compiler happy. template <typename T> int templateFunc(void *a, void *b) { return 2+3; } int func (void *a, void *b) { return 3+4; } typedef int (*pfi)(void*,void*); pfi functions1[] = { ... 26 Jan 2008 05:31
unwinding of local objects on call stack after throwing and catching an exception
On 25 Jan., 18:52, Ivan Novick <i...(a)0x4849.net> wrote: Hi, If we have a function that has a local automatic object and then it throws an exception that is caught somewhere up the call stack ..... Does the normal destructor get called for that object? I assume it has to or else there would be memo... 25 Jan 2008 20:40
First  |  Prev |  Next  |  Last
Pages: 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71