/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/basic_statement.h

  • Committer: edam
  • Date: 2010-07-27 15:12:55 UTC
  • Revision ID: edam@waxworlds.org-20100727151255-goaqgdz4kj13q7gz
- update TODO
- added some missing includes for <string>
- changed usage of database::exec() to not require return code!
- prevented transaction_guard destructor from throwing an exception

Show diffs side-by-side

added added

removed removed

36
36
 
37
37
class database;
38
38
class row;
39
 
namespace detail {
40
 
        struct null_t;
41
 
        struct exec_t;
42
 
        struct set_index_t;
43
 
}
 
39
struct _null_t;
 
40
struct _exec_t;
 
41
struct _set_index_t;
44
42
 
45
43
 
46
44
/**
305
303
 
306
304
// template specialisations for statement::operator <<()
307
305
template< >
308
 
basic_statement &basic_statement::operator << < detail::null_t >(
309
 
        const detail::null_t & );
310
 
template< >
311
 
basic_statement &basic_statement::operator << < detail::exec_t >(
312
 
        const detail::exec_t & );
313
 
template< >
314
 
basic_statement &basic_statement::operator << < detail::set_index_t >(
315
 
        const detail::set_index_t &t );
 
306
basic_statement &basic_statement::operator << < _null_t >(
 
307
        const _null_t & );
 
308
template< >
 
309
basic_statement &basic_statement::operator << < _exec_t >(
 
310
        const _exec_t & );
 
311
template< >
 
312
basic_statement &basic_statement::operator << < _set_index_t >(
 
313
        const _set_index_t &t );
316
314
 
317
315
 
318
316
} // namespace sqlite