Author: wyoung
Date: Thu Nov 29 18:55:08 2007
New Revision: 1934
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1934&view=rev
Log:
More tweaks to userman's quoting and escaping text
Modified:
trunk/doc/userman/userman.dbx
Modified: trunk/doc/userman/userman.dbx
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx?rev=1934&r1=1933&r2=1934&view=diff
==============================================================================
--- trunk/doc/userman/userman.dbx (original)
+++ trunk/doc/userman/userman.dbx Thu Nov 29 18:55:08 2007
@@ -1217,17 +1217,18 @@
<para>In a very real sense, <classname>String</classname>
is the inverse of <classname>STA</classname>:
- <classname>String</classname> converts SQL value strings
- to C++ data types, and <classname>STA</classname> converts
- C++ data types to SQL value strings.<footnote><para>For a
- time during the development of MySQL++ v3.0, I considered
+ <classname>String</classname> converts SQL value strings to
+ C++ data types, and <classname>STA</classname> converts C++
+ data types to SQL value strings.<footnote><para>During
+ the development of MySQL++ v3.0, I tried
merging <classname>SQLTypeAdapter</classname> and
- <classname>String</classname> to take advantage of the fact
- that they're two sides of the same coin. Unfortunately,
- C++'s type conversion rules got in the way, because
- such a combined class lets you convert almost anything
- to anything, which gives the C++ compiler plenty of rope
- to hang itself.</para></footnote></para>
+ <classname>String</classname> into a single class to
+ take advantage of this. The resulting class gave the C++
+ compiler the freedom to tie itself up in knots, because
+ it was then allowed to convert almost any data type
+ to almost any other. You'd get a tangle of ambiguous
+ data type conversion errors from the most innocent
+ code.</para></footnote></para>
<para><classname>String</classname> has two main
uses.</para>
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits