MySQL++

Check-in [be32e63bc1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added a #include needed by Ubuntu 16.04
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v2.3.2-modern
Files: files | file ages | folders
SHA3-256:be32e63bc173e0aa59accabcb352eac499550225f23db802912cb58bf203efcf
User & Date: tangent 2017-09-08 18:30:45
Context
2017-09-09
00:06
Fixed a dependency declaration in the old 2.3.2 spec file that caused complaints if you tried to install the resulting -devel RPM. check-in: d9c6b79b99 user: tangent tags: v2.3.2-modern
2017-09-08
18:30
Added a #include needed by Ubuntu 16.04 check-in: be32e63bc1 user: tangent tags: v2.3.2-modern
18:29
Backported removal of config.h.in check-in: bdbab62833 user: tangent tags: v2.3.2-modern
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/const_string.h.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
28
29
30
31
32
33
34

35
36
37
38
39
40
41
/// \file const_string.h
/// \brief Declares a wrapper for <tt>const char*</tt> which behaves
/// in a way more useful to MySQL++.

/***********************************************************************
 Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by
 MySQL AB, and (c) 2004, 2005 by Educational Technology Resources, Inc.
 Others may also hold copyrights on code in this file.  See the CREDITS
 file in the top directory of the distribution for details.

 This file is part of MySQL++.

 MySQL++ is free software; you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License as published
................................................................................

#ifndef MYSQLPP_CONST_STRING_H
#define MYSQLPP_CONST_STRING_H

#include "common.h"

#include <algorithm>

#include <iostream>
#include <stdexcept>
#include <string>

namespace mysqlpp {

/// \brief Wrapper for <tt>const char*</tt> to make it behave in a





|
|







 







>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/// \file const_string.h
/// \brief Declares a wrapper for <tt>const char*</tt> which behaves
/// in a way more useful to MySQL++.

/***********************************************************************
 Copyright © 1998 by Kevin Atkinson, © 1999, 2000 and 2001 by MySQL AB,
 and © 2004-2005, 2007, 2017 by Educational Technology Resources, Inc.
 Others may also hold copyrights on code in this file.  See the CREDITS
 file in the top directory of the distribution for details.

 This file is part of MySQL++.

 MySQL++ is free software; you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License as published
................................................................................

#ifndef MYSQLPP_CONST_STRING_H
#define MYSQLPP_CONST_STRING_H

#include "common.h"

#include <algorithm>
#include <cstring>
#include <iostream>
#include <stdexcept>
#include <string>

namespace mysqlpp {

/// \brief Wrapper for <tt>const char*</tt> to make it behave in a