| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | December 3 2008 9:46pm |
| Subject: | Re: Problem with Null string type | ||
| View as plain text | |||
Brad Hubbard wrote: > But I thought this; > > operator Type&() > { > if (is_null) > return data = Behavior::null_is(); > else > return data; > } > in null.h must be how you "safely" get the data member. Yes, you're right, that works. I was confused. The compiler is complaining about operator=(), not operator Type&(). Which one is line 74 in your excerpt? Can you cut it down some, ideally to just one line that shows the problem?
| Thread | ||
|---|---|---|
| • Problem with Null string type | Brad Hubbard | 3 Dec |
| • Re: Problem with Null string type | Warren Young | 3 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 3 Dec |
| • Re: Problem with Null string type | Warren Young | 3 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 4 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 4 Dec |
| • Re: Problem with Null string type | Warren Young | 4 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 5 Dec |
| • Re: Problem with Null string type | Warren Young | 5 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 6 Dec |
| • Re: Problem with Null string type | Warren Young | 6 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 6 Dec |
| • execute failed | bsingh | 8 Dec |
| • Re: execute failed | Warren Young | 8 Dec |
