Changes between Version 188 and Version 189 of WikiStart


Ignore:
Timestamp:
Dec 23, 2017, 6:06:02 PM (3 weeks ago)
Author:
jtv
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v188 v189  
    232232Results and result rows have all the member functions you expect to find in a container: {{{front()}}}/{{{back()}}}, {{{size()}}}, index operator, and so on.  You can't modify the result's contents, however.
    233233
    234 If you're on an older version of C++, the example gets a little harder to write:
    235  1. There's no {{{auto}}}, so specify types explicitly.
    236  1. You won't be able to iterate using the simple {{{for}}} syntax.  You'll need iterators and {{{r.begin()}}}/{{{r.end()}}}.
    237  1. No move semantics, so you can't just return a {{{pqxx::result}}} on the stack.
    238234
    239235-----