[libsigc++2/variadic_bind2: 12/68] Use C++14.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2/variadic_bind2: 12/68] Use C++14.
- Date: Tue, 1 Mar 2016 21:44:43 +0000 (UTC)
commit 1bd2ae1524cc35da7281034da6c1105e3ba8e1d8
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jan 8 11:16:36 2016 +0100
Use C++14.
By using the MM_AX_CXX_COMPILE_STDCXX() m4 macro that I just
added to mm-common.
This lets us use std::integer_sequence (and std::index_sequence) with
std::tuple.
We probably also want to use decltype(auto) return types for template
methods, as long as that doesn't slow down compile times.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6e497a4..ef92daf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ MM_INIT_MODULE([sigc++-2.0])
MM_CONFIG_DOCTOOL_DIR([docs])
AC_PROG_CXX
-MM_AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
+MM_AX_CXX_COMPILE_STDCXX([14],[noext],[mandatory])
AC_DISABLE_STATIC
LT_INIT([win32-dll])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]