@@ -78,17 +78,17 @@ namespace sqlite3pp
7878 class null_type {};
7979 extern null_type ignore;
8080
81- class noncopyable
81+ class NonCopyable
8282 {
8383 protected:
84- noncopyable () = default ;
85- ~noncopyable () = default ;
84+ NonCopyable () = default ;
85+ ~NonCopyable () = default ;
8686
87- noncopyable (noncopyable &&) = default ;
88- noncopyable & operator =(noncopyable &&) = default ;
87+ NonCopyable (NonCopyable &&) = default ;
88+ NonCopyable & operator =(NonCopyable &&) = default ;
8989
90- noncopyable (noncopyable const &) = delete ;
91- noncopyable & operator =(noncopyable const &) = delete ;
90+ NonCopyable (NonCopyable const &) = delete ;
91+ NonCopyable & operator =(NonCopyable const &) = delete ;
9292 };
9393
9494 // struct sqlite3_api_routines;
@@ -98,7 +98,7 @@ namespace sqlite3pp
9898 db_api_root ();
9999 };
100100
101- class database : public db_api_root , private noncopyable
101+ class database : public db_api_root , private NonCopyable
102102 {
103103 friend class statement ;
104104 friend class database_error ;
@@ -188,7 +188,7 @@ namespace sqlite3pp
188188
189189 enum copy_semantic { copy, nocopy };
190190
191- class statement : public db_api_root , private noncopyable
191+ class statement : public db_api_root , private NonCopyable
192192 {
193193 public:
194194 int prepare (char const * stmt);
@@ -237,29 +237,29 @@ namespace sqlite3pp
237237 class command : public statement
238238 {
239239 public:
240- class bindstream
240+ class BindStream
241241 {
242242 public:
243- bindstream (command& cmd, int idx);
243+ BindStream (command& cmd, int idx);
244244
245245 template <class T >
246- bindstream & operator << (T value) {
246+ BindStream & operator << (T value) {
247247 auto rc = cmd_.bind (idx_, value);
248248 if (rc != SQLITE_OK) {
249249 throw database_error (cmd_.db_ );
250250 }
251251 ++idx_;
252252 return *this ;
253253 }
254- bindstream & operator << (char const * value) {
254+ BindStream & operator << (char const * value) {
255255 auto rc = cmd_.bind (idx_, value, copy);
256256 if (rc != SQLITE_OK) {
257257 throw database_error (cmd_.db_ );
258258 }
259259 ++idx_;
260260 return *this ;
261261 }
262- bindstream & operator << (std::string const & value) {
262+ BindStream & operator << (std::string const & value) {
263263 auto rc = cmd_.bind (idx_, value, copy);
264264 if (rc != SQLITE_OK) {
265265 throw database_error (cmd_.db_ );
@@ -275,7 +275,7 @@ namespace sqlite3pp
275275
276276 explicit command (database& db, char const * stmt = nullptr );
277277
278- bindstream binder (int idx = 1 );
278+ BindStream binder (int idx = 1 );
279279
280280 int execute ();
281281 int execute_all ();
@@ -287,13 +287,13 @@ namespace sqlite3pp
287287 class rows
288288 {
289289 public:
290- class getstream
290+ class GetStream
291291 {
292292 public:
293- getstream (rows* rws, int idx);
293+ GetStream (rows* rws, int idx);
294294
295295 template <class T >
296- getstream & operator >> (T& value) {
296+ GetStream & operator >> (T& value) {
297297 value = rws_->get (idx_, T ());
298298 ++idx_;
299299 return *this ;
@@ -320,7 +320,7 @@ namespace sqlite3pp
320320 return std::make_tuple (get (idxs, Ts ())...);
321321 }
322322
323- getstream getter (int idx = 0 );
323+ GetStream getter (int idx = 0 );
324324
325325 private:
326326 int get (int idx, int ) const ;
@@ -366,8 +366,6 @@ namespace sqlite3pp
366366 bool operator !=(query_iterator const &) const ;
367367
368368 query_iterator& operator ++();
369-
370- // #pragma warning(disable : 4996)
371369 query::rows operator *() const ;
372370
373371 private:
@@ -390,7 +388,7 @@ namespace sqlite3pp
390388 iterator end ();
391389 };
392390
393- class transaction : public db_api_root , private noncopyable
391+ class transaction : public db_api_root , private NonCopyable
394392 {
395393 public:
396394 explicit transaction (database& db, bool fcommit = false , bool freserve = false );
0 commit comments