/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:46:42 UTC
  • Revision ID: edam@waxworlds.org-20100727154642-1uxrjkpxhp7xl6hq
- moved null_t, exec_t and set_index_t to detail namespace so only their extern instantiations are in the main namespace
- added immediate transation

Show diffs side-by-side

added added

removed removed

36
36
 
37
37
class database;
38
38
class row;
39
 
struct _null_t;
40
 
struct _exec_t;
41
 
struct _set_index_t;
 
39
namespace detail {
 
40
        struct null_t;
 
41
        struct exec_t;
 
42
        struct set_index_t;
 
43
}
42
44
 
43
45
 
44
46
/**
303
305
 
304
306
// template specialisations for statement::operator <<()
305
307
template< >
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 );
 
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 );
314
316
 
315
317
 
316
318
} // namespace sqlite