| 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 exists | Jeff Huston | 31 Jul |
| • RE: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longer exists | Jeff Huston | 1 Aug |
| • failing row[] assignment | Jeff Huston | 1 Aug |
| • Re: failing row[] assignment | Drew M. | 1 Aug |
| • Re: failing row[] assignment | Jeff Huston | 2 Aug |
| • Re: failing row[] assignment | Warren Young | 2 Aug |
| • Re: failing row[] assignment | Jeff Huston | 3 Aug |
| • Re: failing row[] assignment | Warren Young | 3 Aug |
| • Re: failing row[] assignment | Jeff Huston | 3 Aug |
| • Re: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longer exists | Warren Young | 2 Aug |
| • MySQL++ licensing (was: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longerexists) | Axel Howind | 4 Aug |
| • Re: MySQL++ licensing | Warren Young | 6 Aug |
| • Re: MySQL++ licensing | Axel Howind | 6 Aug |
