From 0b5c658ddb780a9c8d5dd48c30cf99c89e9f28e7 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 29 Mar 2009 04:09:30 +0000 Subject: [PATCH] Add a class internal::bool2type git-svn-id: https://svn.dealii.org/trunk@18522 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/template_constraints.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/deal.II/base/include/base/template_constraints.h b/deal.II/base/include/base/template_constraints.h index 3043d667e0..9c040a0f69 100644 --- a/deal.II/base/include/base/template_constraints.h +++ b/deal.II/base/include/base/template_constraints.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2003, 2004, 2005, 2006, 2008 by the deal.II authors +// Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -207,6 +207,16 @@ namespace internal template struct int2type {}; + + +/** + * The equivalent of the int2type class for boolean arguments. + * + * @author Wolfgang Bangerth, 2009 + */ + template + struct bool2type + {}; } -- 2.39.5