[libsigcplusplus/variadic_mem_fun3: 30/148] Use C++14.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus/variadic_mem_fun3: 30/148] Use C++14.
- Date: Mon, 7 Mar 2016 10:00:19 +0000 (UTC)
commit ba8903793a70ecd041850573f1db3e642f60fcfe
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 d89b139..9c862e5 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]