List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:August 2 2007 12:02am
Subject:Re: failing row[] assignment
View as plain text  
Jeff Huston wrote:
> In which case the cast is required is it not?... 

A static cast like that should never be required for an assignment in a 
C++ program.  C++ has strong type checking, but static casts completely 
disable this feature.  If the compiler refuses to allow the assignment 
without a cast, you need to work within the type system to fix it, not 
bypass it.

(That's the general rule...there are exceptions, of course.)
Thread
2.1.1 -> 2.3.2 ... libmysqlpp.a no longer existsJeff Huston31 Jul
  • RE: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longer existsJeff Huston1 Aug
  • failing row[] assignmentJeff Huston1 Aug
    • Re: failing row[] assignmentDrew M.1 Aug
      • Re: failing row[] assignmentJeff Huston2 Aug
        • Re: failing row[] assignmentWarren Young2 Aug
          • Re: failing row[] assignmentJeff Huston3 Aug
            • Re: failing row[] assignmentWarren Young3 Aug
              • Re: failing row[] assignmentJeff Huston3 Aug
  • Re: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longer existsWarren Young2 Aug
    • MySQL++ licensing (was: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longerexists)Axel Howind4 Aug
      • Re: MySQL++ licensingWarren Young6 Aug
        • Re: MySQL++ licensingAxel Howind6 Aug